mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
About to commit to SVN as well
This commit is contained in:
parent
05cccdb6e5
commit
3a5d2e892a
@ -20,6 +20,7 @@ package ca.uhn.fhir.context;
|
||||
* #L%
|
||||
*/
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@ -35,6 +36,8 @@ import ca.uhn.fhir.model.api.IValueSetEnumBinder;
|
||||
|
||||
public abstract class BaseRuntimeElementDefinition<T extends IBase> {
|
||||
|
||||
private static final Class<Void> VOID_CLASS = Void.class;
|
||||
|
||||
private final String myName;
|
||||
private final Class<? extends T> myImplementingClass;
|
||||
private List<RuntimeChildDeclaredExtensionDefinition> myExtensions = new ArrayList<RuntimeChildDeclaredExtensionDefinition>();
|
||||
@ -42,6 +45,7 @@ public abstract class BaseRuntimeElementDefinition<T extends IBase> {
|
||||
private List<RuntimeChildDeclaredExtensionDefinition> myExtensionsModifier = new ArrayList<RuntimeChildDeclaredExtensionDefinition>();
|
||||
private List<RuntimeChildDeclaredExtensionDefinition> myExtensionsNonModifier = new ArrayList<RuntimeChildDeclaredExtensionDefinition>();
|
||||
private final boolean myStandardType;
|
||||
private Map<Class<?>, Constructor<T>> myConstructors = Collections.synchronizedMap(new HashMap<Class<?>, Constructor<T>>());
|
||||
|
||||
public BaseRuntimeElementDefinition(String theName, Class<? extends T> theImplementingClass, boolean theStandardType) {
|
||||
assert StringUtils.isNotBlank(theName);
|
||||
@ -109,13 +113,9 @@ public abstract class BaseRuntimeElementDefinition<T extends IBase> {
|
||||
public T newInstance(Object theArgument) {
|
||||
try {
|
||||
if (theArgument == null) {
|
||||
return getImplementingClass().newInstance();
|
||||
} else if (theArgument instanceof IValueSetEnumBinder) {
|
||||
return getImplementingClass().getConstructor(IValueSetEnumBinder.class).newInstance(theArgument);
|
||||
} else if (theArgument instanceof IBaseEnumFactory) {
|
||||
return getImplementingClass().getConstructor(IBaseEnumFactory.class).newInstance(theArgument);
|
||||
return getConstructor(null).newInstance(null);
|
||||
} else {
|
||||
return getImplementingClass().getConstructor(theArgument.getClass()).newInstance(theArgument);
|
||||
return getConstructor(theArgument).newInstance(theArgument);
|
||||
}
|
||||
} catch (InstantiationException e) {
|
||||
throw new ConfigurationException("Failed to instantiate type:" + getImplementingClass().getName(), e);
|
||||
@ -125,13 +125,44 @@ public abstract class BaseRuntimeElementDefinition<T extends IBase> {
|
||||
throw new ConfigurationException("Failed to instantiate type:" + getImplementingClass().getName(), e);
|
||||
} catch (InvocationTargetException e) {
|
||||
throw new ConfigurationException("Failed to instantiate type:" + getImplementingClass().getName(), e);
|
||||
} catch (NoSuchMethodException e) {
|
||||
throw new ConfigurationException("Failed to instantiate type:" + getImplementingClass().getName(), e);
|
||||
} catch (SecurityException e) {
|
||||
throw new ConfigurationException("Failed to instantiate type:" + getImplementingClass().getName(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private Constructor<T> getConstructor(Object theArgument) {
|
||||
|
||||
Class<? extends Object> argumentType;
|
||||
if (theArgument == null) {
|
||||
argumentType = VOID_CLASS;
|
||||
} else {
|
||||
argumentType = theArgument.getClass();
|
||||
}
|
||||
|
||||
Constructor<T> retVal = myConstructors.get(argumentType);
|
||||
if (retVal == null) {
|
||||
for (Constructor<?> next : getImplementingClass().getConstructors()) {
|
||||
if (argumentType == VOID_CLASS) {
|
||||
if (next.getParameterTypes().length == 0) {
|
||||
retVal = (Constructor<T>) next;
|
||||
break;
|
||||
}
|
||||
} else if (next.getParameterTypes().length == 1) {
|
||||
if (next.getParameterTypes()[0].isAssignableFrom(argumentType)) {
|
||||
retVal = (Constructor<T>) next;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (retVal == null) {
|
||||
throw new ConfigurationException("Class " + getImplementingClass() + " has no constructor with a single argument of type " + argumentType);
|
||||
}
|
||||
myConstructors.put(argumentType, retVal);
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
public Class<? extends T> getImplementingClass() {
|
||||
return myImplementingClass;
|
||||
}
|
||||
|
@ -802,7 +802,7 @@ class ModelScanner {
|
||||
}
|
||||
|
||||
} catch (ClassNotFoundException e) {
|
||||
ourLog.error("Unknown class[" + nextValue + "] for data type definition: " + nextKey.substring("datatype.".length()), e);
|
||||
throw new ConfigurationException("Unknown class[" + nextValue + "] for data type definition: " + nextKey.substring("datatype.".length()), e);
|
||||
}
|
||||
}
|
||||
} else if (nextKey.startsWith("resource.")) {
|
||||
@ -812,16 +812,15 @@ class ModelScanner {
|
||||
@SuppressWarnings("unchecked")
|
||||
Class<? extends IBaseResource> nextClass = (Class<? extends IBaseResource>) Class.forName(nextValue);
|
||||
if (!IBaseResource.class.isAssignableFrom(nextClass)) {
|
||||
ourLog.warn("Class is not assignable from " + IBaseResource.class.getSimpleName() + ": " + nextValue);
|
||||
continue;
|
||||
throw new ConfigurationException("Class is not assignable from " + IBaseResource.class.getSimpleName() + ": " + nextValue);
|
||||
}
|
||||
|
||||
theResourceTypes.put(resName, nextClass);
|
||||
} catch (ClassNotFoundException e) {
|
||||
ourLog.error("Unknown class[" + nextValue + "] for resource definition: " + nextKey.substring("resource.".length()), e);
|
||||
throw new ConfigurationException("Unknown class[" + nextValue + "] for resource definition: " + nextKey.substring("resource.".length()), e);
|
||||
}
|
||||
} else {
|
||||
ourLog.warn("Unexpected property in version property file: {}={}", nextKey, nextValue);
|
||||
throw new ConfigurationException("Unexpected property in version property file: " + nextKey + "=" + nextValue);
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
@ -560,7 +560,7 @@ public class IdDt extends UriDt implements IPrimitiveDatatype<String>, IIdType {
|
||||
if (theResouce == null) {
|
||||
throw new NullPointerException("theResource can not be null");
|
||||
} else if (theResouce instanceof IBaseResource) {
|
||||
IIdType retVal = ((IBaseResource) theResouce).getId();
|
||||
IIdType retVal = ((IBaseResource) theResouce).getIdElement();
|
||||
if (retVal == null) {
|
||||
return null;
|
||||
} else if (retVal instanceof IdDt) {
|
||||
|
@ -96,7 +96,7 @@ public abstract class BaseParser implements IParser {
|
||||
} else if (theTarget instanceof IDomainResource) {
|
||||
List<? extends IRefImplResource> containedResources = ((IDomainResource) theTarget).getContained();
|
||||
for (IRefImplResource next : containedResources) {
|
||||
String nextId = next.getId().getValue();
|
||||
String nextId = next.getIdElement().getValue();
|
||||
if (StringUtils.isNotBlank(nextId)) {
|
||||
if (!nextId.startsWith("#")) {
|
||||
nextId = '#' + nextId;
|
||||
@ -117,7 +117,7 @@ public abstract class BaseParser implements IParser {
|
||||
for (IBaseReference next : allElements) {
|
||||
IBaseResource resource = next.getResource();
|
||||
if (resource != null) {
|
||||
if (resource.getId().isEmpty() || resource.getId().isLocal()) {
|
||||
if (resource.getIdElement().isEmpty() || resource.getIdElement().isLocal()) {
|
||||
theContained.addContained(resource);
|
||||
} else {
|
||||
continue;
|
||||
@ -156,11 +156,11 @@ public abstract class BaseParser implements IParser {
|
||||
} else {
|
||||
reference = "#" + containedId.getValue();
|
||||
}
|
||||
} else if (theRef.getResource().getId() != null && theRef.getResource().getId().hasIdPart()) {
|
||||
} else if (theRef.getResource().getIdElement() != null && theRef.getResource().getIdElement().hasIdPart()) {
|
||||
if (isStripVersionsFromReferences()) {
|
||||
reference = theRef.getResource().getId().toVersionless().getValue();
|
||||
reference = theRef.getResource().getIdElement().toVersionless().getValue();
|
||||
} else {
|
||||
reference = theRef.getResource().getId().getValue();
|
||||
reference = theRef.getResource().getIdElement().getValue();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -284,7 +284,7 @@ public abstract class BaseParser implements IParser {
|
||||
if (base != null && base.size() > 0) {
|
||||
IPrimitiveType<?> baseType = (IPrimitiveType<?>) base.get(0);
|
||||
IBaseResource res = ((IBaseResource) retVal);
|
||||
res.setId(new IdDt(baseType.getValueAsString(), def.getName(), res.getId().getIdPart(), res.getId().getVersionIdPart()));
|
||||
res.setId(new IdDt(baseType.getValueAsString(), def.getName(), res.getIdElement().getIdPart(), res.getIdElement().getVersionIdPart()));
|
||||
}
|
||||
|
||||
BaseRuntimeChildDefinition entryChild = def.getChildByName("entry");
|
||||
@ -305,12 +305,12 @@ public abstract class BaseParser implements IParser {
|
||||
if (entryResources != null && entryResources.size() > 0) {
|
||||
IBaseResource res = (IBaseResource) entryResources.get(0);
|
||||
RuntimeResourceDefinition resDef = myContext.getResourceDefinition(res);
|
||||
String versionIdPart = res.getId().getVersionIdPart();
|
||||
String versionIdPart = res.getIdElement().getVersionIdPart();
|
||||
if (isBlank(versionIdPart) && res instanceof IResource) {
|
||||
versionIdPart = ResourceMetadataKeyEnum.VERSION.get((IResource) res);
|
||||
}
|
||||
|
||||
res.setId(new IdDt(baseType.getValueAsString(), resDef.getName(), res.getId().getIdPart(), versionIdPart));
|
||||
res.setId(new IdDt(baseType.getValueAsString(), resDef.getName(), res.getIdElement().getIdPart(), versionIdPart));
|
||||
}
|
||||
|
||||
}
|
||||
@ -399,8 +399,8 @@ public abstract class BaseParser implements IParser {
|
||||
}
|
||||
|
||||
IIdType newId;
|
||||
if (theResource.getId().isLocal()) {
|
||||
newId = theResource.getId();
|
||||
if (theResource.getIdElement().isLocal()) {
|
||||
newId = theResource.getIdElement();
|
||||
} else {
|
||||
// TODO: make this configurable between the two below (and something else?)
|
||||
// newId = new IdDt(UUID.randomUUID().toString());
|
||||
|
@ -678,8 +678,8 @@ public class JsonParser extends BaseParser implements IParser {
|
||||
}
|
||||
} else if (theResource instanceof IRefImplResource) {
|
||||
IRefImplResource res = (IRefImplResource) theResource;
|
||||
if (/*theContainedResource && */ StringUtils.isNotBlank(res.getId().getIdPart())) {
|
||||
resourceId = res.getId().getIdPart();
|
||||
if (/*theContainedResource && */ StringUtils.isNotBlank(res.getIdElement().getIdPart())) {
|
||||
resourceId = res.getIdElement().getIdPart();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1096,7 +1096,7 @@ public class JsonParser extends BaseParser implements IParser {
|
||||
if (object instanceof IIdentifiableElement) {
|
||||
((IIdentifiableElement) object).setElementSpecificId(elementId);
|
||||
} else if (object instanceof IBaseResource) {
|
||||
((IBaseResource) object).getId().setValue(elementId);
|
||||
((IBaseResource) object).getIdElement().setValue(elementId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1383,12 +1383,12 @@ class ParserState<T> {
|
||||
public void wereBack() {
|
||||
IBaseResource res = getCurrentElement();
|
||||
assert res != null;
|
||||
if (res.getId() == null || res.getId().isEmpty()) {
|
||||
if (res.getIdElement() == null || res.getIdElement().isEmpty()) {
|
||||
ourLog.debug("Discarding contained resource with no ID!");
|
||||
} else {
|
||||
getPreResourceState().getContainedResources().put(res.getId().getValue(), res);
|
||||
if (!res.getId().isLocal()) {
|
||||
res.getId().setValue('#' + res.getId().getIdPart());
|
||||
getPreResourceState().getContainedResources().put(res.getIdElement().getValue(), res);
|
||||
if (!res.getIdElement().isLocal()) {
|
||||
res.getIdElement().setValue('#' + res.getIdElement().getIdPart());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1955,12 +1955,12 @@ class ParserState<T> {
|
||||
IDomainResource elem = (IDomainResource) getCurrentElement();
|
||||
String resourceName = myContext.getResourceDefinition(elem).getName();
|
||||
String versionId = elem.getMeta().getVersionId();
|
||||
if (StringUtils.isBlank(elem.getId().getIdPart())) {
|
||||
if (StringUtils.isBlank(elem.getIdElement().getIdPart())) {
|
||||
// Resource has no ID
|
||||
} else if (StringUtils.isNotBlank(versionId)) {
|
||||
elem.getIdElement().setValue(resourceName + "/" + elem.getId().getIdPart() + "/_history/" + versionId);
|
||||
elem.getIdElement().setValue(resourceName + "/" + elem.getIdElement().getIdPart() + "/_history/" + versionId);
|
||||
} else {
|
||||
elem.getIdElement().setValue(resourceName + "/" + elem.getId().getIdPart());
|
||||
elem.getIdElement().setValue(resourceName + "/" + elem.getIdElement().getIdPart());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -752,8 +752,8 @@ public class XmlParser extends BaseParser implements IParser {
|
||||
} else {
|
||||
// HL7 structs
|
||||
IRefImplResource resource = (IRefImplResource) theResource;
|
||||
if (StringUtils.isNotBlank(resource.getId().getIdPart())) {
|
||||
resourceId = resource.getId().getIdPart();
|
||||
if (StringUtils.isNotBlank(resource.getIdElement().getIdPart())) {
|
||||
resourceId = resource.getIdElement().getIdPart();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -283,7 +283,7 @@ public class GenericClient extends BaseClient implements IGenericClient {
|
||||
if (isNotBlank(theId)) {
|
||||
return theId;
|
||||
}
|
||||
return theResource.getId().getIdPart();
|
||||
return theResource.getIdElement().getIdPart();
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -1709,7 +1709,7 @@ public class GenericClient extends BaseClient implements IGenericClient {
|
||||
invocation = MethodUtil.createUpdateInvocation(myContext, myResource, myResourceBody, myCriterionList.toParamList());
|
||||
} else {
|
||||
if (myId == null) {
|
||||
myId = myResource.getId();
|
||||
myId = myResource.getIdElement();
|
||||
}
|
||||
if (myId == null || myId.hasIdPart() == false) {
|
||||
throw new InvalidRequestException("No ID supplied for resource to update, can not invoke server");
|
||||
|
@ -190,10 +190,10 @@ public class HistoryMethodBinding extends BaseResourceReturningMethodBinding {
|
||||
List<IBaseResource> retVal = resources.getResources(theFromIndex, theToIndex);
|
||||
int index = theFromIndex;
|
||||
for (IBaseResource nextResource : retVal) {
|
||||
if (nextResource.getId() == null || isBlank(nextResource.getId().getIdPart())) {
|
||||
if (nextResource.getIdElement() == null || isBlank(nextResource.getIdElement().getIdPart())) {
|
||||
throw new InternalErrorException("Server provided resource at index " + index + " with no ID set (using IResource#setId(IdDt))");
|
||||
}
|
||||
if (isBlank(nextResource.getId().getVersionIdPart()) && nextResource instanceof IResource) {
|
||||
if (isBlank(nextResource.getIdElement().getVersionIdPart()) && nextResource instanceof IResource) {
|
||||
IdDt versionId = (IdDt) ResourceMetadataKeyEnum.VERSION_ID.get((IResource) nextResource);
|
||||
if (versionId == null || versionId.isEmpty()) {
|
||||
throw new InternalErrorException("Server provided resource at index " + index + " with no Version ID set (using IResource#setId(IdDt))");
|
||||
|
@ -209,8 +209,8 @@ public class ReadMethodBinding extends BaseResourceReturningMethodBinding implem
|
||||
IBaseResource responseResource = responseResources.get(0);
|
||||
|
||||
ifNoneMatch = MethodUtil.parseETagValue(ifNoneMatch);
|
||||
if (responseResource.getId() != null && responseResource.getId().hasVersionIdPart()) {
|
||||
if (responseResource.getId().getVersionIdPart().equals(ifNoneMatch)) {
|
||||
if (responseResource.getIdElement() != null && responseResource.getIdElement().hasVersionIdPart()) {
|
||||
if (responseResource.getIdElement().getVersionIdPart().equals(ifNoneMatch)) {
|
||||
ourLog.debug("Returning HTTP 301 because request specified {}={}", Constants.HEADER_IF_NONE_MATCH, ifNoneMatch);
|
||||
throw new NotModifiedException("Not Modified");
|
||||
}
|
||||
|
@ -166,14 +166,14 @@ public class TransactionMethodBinding extends BaseResourceReturningMethodBinding
|
||||
for (int i = 0; i < retResources.size(); i++) {
|
||||
IdDt oldId = oldIds.get(retResources.get(i));
|
||||
IBaseResource newRes = retResources.get(i);
|
||||
if (newRes.getId() == null || newRes.getId().isEmpty()) {
|
||||
if (newRes.getIdElement() == null || newRes.getIdElement().isEmpty()) {
|
||||
if (!(newRes instanceof BaseOperationOutcome)) {
|
||||
throw new InternalErrorException("Transaction method returned resource at index " + i + " with no id specified - IResource#setId(IdDt)");
|
||||
}
|
||||
}
|
||||
|
||||
if (oldId != null && !oldId.isEmpty()) {
|
||||
if (!oldId.equals(newRes.getId()) && newRes instanceof IResource) {
|
||||
if (!oldId.equals(newRes.getIdElement()) && newRes instanceof IResource) {
|
||||
((IResource)newRes).getResourceMetadata().put(ResourceMetadataKeyEnum.PREVIOUS_ID, oldId);
|
||||
}
|
||||
}
|
||||
|
@ -68,8 +68,8 @@ public class Dstu1BundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IdDt> addedResourceIds = new HashSet<IdDt>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add((IdDt) next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add((IdDt) next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -184,7 +184,7 @@ public class Dstu1BundleFactory implements IVersionSpecificBundleFactory {
|
||||
}
|
||||
|
||||
for (IBaseResource next : resourceList) {
|
||||
if (next.getId() == null || next.getId().isEmpty()) {
|
||||
if (next.getIdElement() == null || next.getIdElement().isEmpty()) {
|
||||
if (!(next instanceof BaseOperationOutcome)) {
|
||||
throw new InternalErrorException("Server method returned resource of type[" + next.getClass().getSimpleName() + "] with no ID specified (IResource#setId(IdDt) must be called)");
|
||||
}
|
||||
@ -271,8 +271,8 @@ public class Dstu1BundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IIdType> addedResourceIds = new HashSet<IIdType>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -303,13 +303,13 @@ public class Dstu1BundleFactory implements IVersionSpecificBundleFactory {
|
||||
for (BaseResourceReferenceDt nextRef : references) {
|
||||
IBaseResource nextRefRes = (IBaseResource) nextRef.getResource();
|
||||
if (nextRefRes != null) {
|
||||
if (nextRefRes.getId().hasIdPart()) {
|
||||
if (containedIds.contains(nextRefRes.getId().getValue())) {
|
||||
if (nextRefRes.getIdElement().hasIdPart()) {
|
||||
if (containedIds.contains(nextRefRes.getIdElement().getValue())) {
|
||||
// Don't add contained IDs as top level resources
|
||||
continue;
|
||||
}
|
||||
|
||||
IIdType id = nextRefRes.getId();
|
||||
IIdType id = nextRefRes.getIdElement();
|
||||
if (id.hasResourceType() == false) {
|
||||
String resName = myContext.getResourceDefinition(nextRefRes).getName();
|
||||
id = id.withResourceType(resName);
|
||||
|
@ -79,15 +79,15 @@ public class RestfulServerUtils {
|
||||
boolean theRequestIsBrowser, RestfulServer.NarrativeModeEnum theNarrativeMode, int stausCode, boolean theRespondGzip, String theServerBase, boolean theAddContentLocationHeader) throws IOException {
|
||||
theHttpResponse.setStatus(stausCode);
|
||||
|
||||
if (theAddContentLocationHeader && theResource.getId() != null && theResource.getId().hasIdPart() && isNotBlank(theServerBase)) {
|
||||
if (theAddContentLocationHeader && theResource.getIdElement() != null && theResource.getIdElement().hasIdPart() && isNotBlank(theServerBase)) {
|
||||
String resName = theServer.getFhirContext().getResourceDefinition(theResource).getName();
|
||||
IIdType fullId = theResource.getId().withServerBase(theServerBase, resName);
|
||||
IIdType fullId = theResource.getIdElement().withServerBase(theServerBase, resName);
|
||||
theHttpResponse.addHeader(Constants.HEADER_CONTENT_LOCATION, fullId.getValue());
|
||||
}
|
||||
|
||||
if (theServer.getETagSupport() == ETagSupportEnum.ENABLED) {
|
||||
if (theResource.getId().hasVersionIdPart()) {
|
||||
theHttpResponse.addHeader(Constants.HEADER_ETAG, "W/\"" + theResource.getId().getVersionIdPart() + '"');
|
||||
if (theResource.getIdElement().hasVersionIdPart()) {
|
||||
theHttpResponse.addHeader(Constants.HEADER_ETAG, "W/\"" + theResource.getIdElement().getVersionIdPart() + '"');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -246,7 +246,7 @@ public class FhirTerser {
|
||||
IBaseReference resRefDt = (IBaseReference) theElement;
|
||||
if (resRefDt.getReferenceElement().getValue() == null && resRefDt.getResource() != null) {
|
||||
IBaseResource theResource = resRefDt.getResource();
|
||||
if (theResource.getId() == null || theResource.getId().isEmpty() || theResource.getId().isLocal()) {
|
||||
if (theResource.getIdElement() == null || theResource.getIdElement().isEmpty() || theResource.getIdElement().isLocal()) {
|
||||
BaseRuntimeElementCompositeDefinition<?> def = myContext.getResourceDefinition(theResource);
|
||||
visit(theResource, pathToElement, null, def, theCallback);
|
||||
}
|
||||
@ -341,7 +341,7 @@ public class FhirTerser {
|
||||
IBaseReference resRefDt = (IBaseReference) theElement;
|
||||
if (resRefDt.getReferenceElement().getValue() == null && resRefDt.getResource() != null) {
|
||||
IBaseResource theResource = resRefDt.getResource();
|
||||
if (theResource.getId() == null || theResource.getId().isEmpty() || theResource.getId().isLocal()) {
|
||||
if (theResource.getIdElement() == null || theResource.getIdElement().isEmpty() || theResource.getIdElement().isLocal()) {
|
||||
BaseRuntimeElementCompositeDefinition<?> def = myContext.getResourceDefinition(theResource);
|
||||
visit(theResource, null, def, theCallback, theContainingElementPath, theChildDefinitionPath, theElementDefinitionPath);
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ package org.hl7.fhir.instance.model.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface IBaseExtension<T, D extends IBase> extends ICompositeType {
|
||||
public interface IBaseExtension<T, D> extends ICompositeType {
|
||||
|
||||
List<T> getExtension();
|
||||
|
||||
|
@ -31,7 +31,7 @@ package org.hl7.fhir.instance.model.api;
|
||||
*/
|
||||
public interface IBaseResource extends IBase {
|
||||
|
||||
IIdType getId();
|
||||
IIdType getIdElement();
|
||||
|
||||
IBaseResource setId(String theId);
|
||||
|
||||
|
@ -23,7 +23,7 @@ package org.hl7.fhir.instance.model.api;
|
||||
|
||||
public interface IRefImplResource extends IBaseResource {
|
||||
|
||||
IIdType getId();
|
||||
String getId();
|
||||
|
||||
IRefImplResource setId(String theId);
|
||||
|
||||
|
@ -1697,7 +1697,7 @@ public abstract class BaseFhirResourceDao<T extends IResource> extends BaseFhirD
|
||||
if (theParams.getIncludes() != null && theParams.getIncludes().isEmpty() == false) {
|
||||
Set<IIdType> previouslyLoadedPids = new HashSet<IIdType>();
|
||||
for (IBaseResource next : retVal) {
|
||||
previouslyLoadedPids.add(next.getId().toUnqualifiedVersionless());
|
||||
previouslyLoadedPids.add(next.getIdElement().toUnqualifiedVersionless());
|
||||
}
|
||||
|
||||
Set<IdDt> includePids = new HashSet<IdDt>();
|
||||
|
@ -112,7 +112,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_CONCEPT, new TokenParam("testChoiceParam01CCS", "testChoiceParam01CCV"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id1, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id1, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -126,7 +126,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_DATE, new DateParam("2001-01-02"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id2, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id2, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -157,7 +157,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_QUANTITY, new QuantityParam(">100", "foo", "bar"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_QUANTITY, new QuantityParam("<100", "foo", "bar"));
|
||||
@ -166,12 +166,12 @@ public class FhirResourceDaoDstu2Test {
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_QUANTITY, new QuantityParam("123.0001", "foo", "bar"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_QUANTITY, new QuantityParam("~120", "foo", "bar"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id3, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -186,7 +186,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
{
|
||||
IBundleProvider found = ourObservationDao.search(Observation.SP_VALUE_STRING, new StringParam("testChoiceParam04Str"));
|
||||
assertEquals(1, found.size());
|
||||
assertEquals(id4, found.getResources(0, 1).get(0).getId());
|
||||
assertEquals(id4, found.getResources(0, 1).get(0).getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1191,7 +1191,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
CompositeParam<TokenParam, StringParam> val = new CompositeParam<TokenParam, StringParam>(v0, v1);
|
||||
IBundleProvider result = ourObservationDao.search(Observation.SP_CODE_VALUE_STRING, val);
|
||||
assertEquals(1, result.size());
|
||||
assertEquals(id1.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getId().toUnqualifiedVersionless());
|
||||
assertEquals(id1.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getIdElement().toUnqualifiedVersionless());
|
||||
}
|
||||
{
|
||||
TokenParam v0 = new TokenParam("foo", "testSearchCompositeParamN01");
|
||||
@ -1199,7 +1199,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
CompositeParam<TokenParam, StringParam> val = new CompositeParam<TokenParam, StringParam>(v0, v1);
|
||||
IBundleProvider result = ourObservationDao.search(Observation.SP_CODE_VALUE_STRING, val);
|
||||
assertEquals(1, result.size());
|
||||
assertEquals(id2.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getId().toUnqualifiedVersionless());
|
||||
assertEquals(id2.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getIdElement().toUnqualifiedVersionless());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1221,7 +1221,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
CompositeParam<TokenParam, DateParam> val = new CompositeParam<TokenParam, DateParam>(v0, v1);
|
||||
IBundleProvider result = ourObservationDao.search(Observation.SP_CODE_VALUE_DATE, val);
|
||||
assertEquals(1, result.size());
|
||||
assertEquals(id1.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getId().toUnqualifiedVersionless());
|
||||
assertEquals(id1.toUnqualifiedVersionless(), result.getResources(0, 1).get(0).getIdElement().toUnqualifiedVersionless());
|
||||
}
|
||||
{
|
||||
TokenParam v0 = new TokenParam("foo", "testSearchCompositeParamDateN01");
|
||||
@ -2355,8 +2355,8 @@ public class FhirResourceDaoDstu2Test {
|
||||
assertEquals(2, historyBundle.size());
|
||||
|
||||
List<IBaseResource> history = historyBundle.getResources(0, 2);
|
||||
assertEquals("1", history.get(1).getId().getVersionIdPart());
|
||||
assertEquals("2", history.get(0).getId().getVersionIdPart());
|
||||
assertEquals("1", history.get(1).getIdElement().getVersionIdPart());
|
||||
assertEquals("2", history.get(0).getIdElement().getVersionIdPart());
|
||||
assertEquals(published, ResourceMetadataKeyEnum.PUBLISHED.get((IResource) history.get(1)));
|
||||
assertEquals(published, ResourceMetadataKeyEnum.PUBLISHED.get((IResource) history.get(1)));
|
||||
assertEquals(updated, ResourceMetadataKeyEnum.UPDATED.get((IResource) history.get(1)));
|
||||
@ -2506,7 +2506,7 @@ public class FhirResourceDaoDstu2Test {
|
||||
private List<IdDt> toUnqualifiedVersionlessIds(IBundleProvider theFound) {
|
||||
List<IdDt> retVal = new ArrayList<IdDt>();
|
||||
for (IBaseResource next : theFound.getResources(0, theFound.size())) {
|
||||
retVal.add((IdDt) next.getId().toUnqualifiedVersionless());
|
||||
retVal.add((IdDt) next.getIdElement().toUnqualifiedVersionless());
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
@ -2543,13 +2543,13 @@ public class FhirResourceDaoDstu2Test {
|
||||
IBundleProvider value = ourDeviceDao.search(new SearchParameterMap());
|
||||
ourLog.info("Initial size: " + value.size());
|
||||
for (IBaseResource next : value.getResources(0, value.size())) {
|
||||
ourLog.info("Deleting: {}", next.getId());
|
||||
ourDeviceDao.delete((IdDt) next.getId());
|
||||
ourLog.info("Deleting: {}", next.getIdElement());
|
||||
ourDeviceDao.delete((IdDt) next.getIdElement());
|
||||
}
|
||||
|
||||
value = ourDeviceDao.search(new SearchParameterMap());
|
||||
if (value.size() > 0) {
|
||||
ourLog.info("Found: " + (value.getResources(0, 1).get(0).getId()));
|
||||
ourLog.info("Found: " + (value.getResources(0, 1).get(0).getIdElement()));
|
||||
fail(ourFhirCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(value.getResources(0, 1).get(0)));
|
||||
}
|
||||
assertEquals(0, value.size());
|
||||
|
@ -96,10 +96,10 @@ public class FhirSystemDaoDstu1Test {
|
||||
assertEquals(4, values.size());
|
||||
|
||||
List<IBaseResource> res = values.getResources(0, 4);
|
||||
assertEquals(newpid3, res.get(0).getId());
|
||||
assertEquals(newpid2, res.get(1).getId());
|
||||
assertEquals(newpid, res.get(2).getId());
|
||||
assertEquals(pid.toUnqualifiedVersionless(), res.get(3).getId().toUnqualifiedVersionless());
|
||||
assertEquals(newpid3, res.get(0).getIdElement());
|
||||
assertEquals(newpid2, res.get(1).getIdElement());
|
||||
assertEquals(newpid, res.get(2).getIdElement());
|
||||
assertEquals(pid.toUnqualifiedVersionless(), res.get(3).getIdElement().toUnqualifiedVersionless());
|
||||
|
||||
Location loc = new Location();
|
||||
loc.getAddress().addLine("AAA");
|
||||
@ -148,7 +148,7 @@ public class FhirSystemDaoDstu1Test {
|
||||
IBundleProvider patResults = ourPatientDao.search(Patient.SP_IDENTIFIER, new IdentifierDt("urn:system", "testPersistWithSimpleLinkP01"));
|
||||
assertEquals(1, obsResults.size());
|
||||
|
||||
IIdType foundPatientId = patResults.getResources(0, 1).get(0).getId();
|
||||
IIdType foundPatientId = patResults.getResources(0, 1).get(0).getIdElement();
|
||||
ResourceReferenceDt subject = obs.getSubject();
|
||||
assertEquals(foundPatientId.getIdPart(), subject.getReference().getIdPart());
|
||||
|
||||
@ -376,12 +376,12 @@ public class FhirSystemDaoDstu1Test {
|
||||
List<IBaseResource> existing = results.getResources(0, 3);
|
||||
|
||||
p1 = new Patient();
|
||||
p1.setId(existing.get(0).getId());
|
||||
p1.setId(existing.get(0).getIdElement());
|
||||
ResourceMetadataKeyEnum.DELETED_AT.put(p1, InstantDt.withCurrentTime());
|
||||
res.add(p1);
|
||||
|
||||
p2 = new Patient();
|
||||
p2.setId(existing.get(1).getId());
|
||||
p2.setId(existing.get(1).getIdElement());
|
||||
ResourceMetadataKeyEnum.DELETED_AT.put(p2, InstantDt.withCurrentTime());
|
||||
res.add(p2);
|
||||
|
||||
@ -394,7 +394,7 @@ public class FhirSystemDaoDstu1Test {
|
||||
IBundleProvider results2 = ourPatientDao.search(Patient.SP_IDENTIFIER, new TokenParam("urn:system", "testTransactionWithDelete"));
|
||||
assertEquals(1, results2.size());
|
||||
List<IBaseResource> existing2 = results2.getResources(0, 1);
|
||||
assertEquals(existing2.get(0).getId(), existing.get(2).getId());
|
||||
assertEquals(existing2.get(0).getIdElement(), existing.get(2).getIdElement());
|
||||
|
||||
}
|
||||
|
||||
|
@ -802,11 +802,11 @@ public class FhirSystemDaoDstu2Test {
|
||||
List<IBaseResource> allRes = all.getResources(0, all.size());
|
||||
for (IBaseResource iResource : allRes) {
|
||||
if (ResourceMetadataKeyEnum.DELETED_AT.get((IResource) iResource) == null) {
|
||||
ourLog.info("Deleting: {}", iResource.getId());
|
||||
ourLog.info("Deleting: {}", iResource.getIdElement());
|
||||
|
||||
Bundle b = new Bundle();
|
||||
b.setType(BundleTypeEnum.TRANSACTION);
|
||||
String url = iResource.getId().toVersionless().getValue();
|
||||
String url = iResource.getIdElement().toVersionless().getValue();
|
||||
b.addEntry().getTransaction().setMethod(HTTPVerbEnum.DELETE).setUrl(url);
|
||||
systemDao.transaction(b);
|
||||
}
|
||||
|
@ -91,6 +91,11 @@ public abstract class BaseResource extends BaseElement implements IResource {
|
||||
return myId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIdType getIdElement() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CodeDt getLanguage() {
|
||||
if (myLanguage == null) {
|
||||
|
@ -216,6 +216,11 @@ public class ServerInvalidDefinitionTest {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIdType getIdElement() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ContainedDt getContained() {
|
||||
return null;
|
||||
|
@ -91,6 +91,11 @@ public abstract class BaseResource extends BaseElement implements IResource {
|
||||
return myId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIdType getIdElement() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public CodeDt getLanguage() {
|
||||
if (myLanguage == null) {
|
||||
|
@ -74,8 +74,8 @@ public class Dstu2BundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IdDt> addedResourceIds = new HashSet<IdDt>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add((IdDt) next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add((IdDt) next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -229,7 +229,7 @@ public class Dstu2BundleFactory implements IVersionSpecificBundleFactory {
|
||||
}
|
||||
|
||||
for (IBaseResource next : resourceList) {
|
||||
if (next.getId() == null || next.getId().isEmpty()) {
|
||||
if (next.getIdElement() == null || next.getIdElement().isEmpty()) {
|
||||
if (!(next instanceof BaseOperationOutcome)) {
|
||||
throw new InternalErrorException("Server method returned resource of type[" + next.getClass().getSimpleName() + "] with no ID specified (IResource#setId(IdDt) must be called)");
|
||||
}
|
||||
@ -317,8 +317,8 @@ public class Dstu2BundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IIdType> addedResourceIds = new HashSet<IIdType>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -81,8 +81,8 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IIdType> addedResourceIds = new HashSet<IIdType>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<String> containedIds = new HashSet<String>();
|
||||
for (IRefImplResource nextContained : next.getContained()) {
|
||||
if (nextContained.getId().isEmpty() == false) {
|
||||
containedIds.add(nextContained.getId().getValue());
|
||||
containedIds.add(nextContained.getIdElement().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
@ -109,13 +109,13 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
|
||||
IBaseResource nextRes = (IBaseResource) nextRefInfo.getResourceReference().getResource();
|
||||
if (nextRes != null) {
|
||||
if (nextRes.getId().hasIdPart()) {
|
||||
if (containedIds.contains(nextRes.getId().getValue())) {
|
||||
if (nextRes.getIdElement().hasIdPart()) {
|
||||
if (containedIds.contains(nextRes.getIdElement().getValue())) {
|
||||
// Don't add contained IDs as top level resources
|
||||
continue;
|
||||
}
|
||||
|
||||
IdType id = (IdType) nextRes.getId();
|
||||
IdType id = (IdType) nextRes.getIdElement();
|
||||
if (id.hasResourceType() == false) {
|
||||
String resName = myContext.getResourceDefinition(nextRes).getName();
|
||||
id = id.withResourceType(resName);
|
||||
@ -227,7 +227,7 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
}
|
||||
|
||||
for (IBaseResource next : resourceList) {
|
||||
if (next.getId() == null || next.getId().isEmpty()) {
|
||||
if (next.getIdElement() == null || next.getIdElement().isEmpty()) {
|
||||
if (!(next instanceof OperationOutcome)) {
|
||||
throw new InternalErrorException("Server method returned resource of type[" + next.getClass().getSimpleName() + "] with no ID specified (IBaseResource#setId(IdDt) must be called)");
|
||||
}
|
||||
@ -294,15 +294,15 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
BundleEntryComponent nextEntry = myBundle.addEntry();
|
||||
|
||||
nextEntry.setResource((Resource) next);
|
||||
if (next.getId().isEmpty()) {
|
||||
if (next.getIdElement().isEmpty()) {
|
||||
nextEntry.getTransaction().setMethod(HttpVerb.POST);
|
||||
} else {
|
||||
nextEntry.getTransaction().setMethod(HttpVerb.PUT);
|
||||
if (next.getId().isAbsolute()) {
|
||||
nextEntry.getTransaction().setUrl(next.getId().getValue());
|
||||
if (next.getIdElement().isAbsolute()) {
|
||||
nextEntry.getTransaction().setUrl(next.getIdElement().getValue());
|
||||
} else {
|
||||
String resourceType = myContext.getResourceDefinition(next).getName();
|
||||
nextEntry.getTransaction().setUrl(new IdType(theServerBase, resourceType, next.getId().getIdPart(), next.getId().getVersionIdPart()).getValue());
|
||||
nextEntry.getTransaction().setUrl(new IdType(theServerBase, resourceType, next.getIdElement().getIdPart(), next.getIdElement().getVersionIdPart()).getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -318,8 +318,8 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
Set<IIdType> addedResourceIds = new HashSet<IIdType>();
|
||||
|
||||
for (IBaseResource next : theResult) {
|
||||
if (next.getId().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getId());
|
||||
if (next.getIdElement().isEmpty() == false) {
|
||||
addedResourceIds.add(next.getIdElement());
|
||||
}
|
||||
}
|
||||
|
||||
@ -327,8 +327,8 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
IDomainResource next = (IDomainResource) nextBaseRes;
|
||||
Set<String> containedIds = new HashSet<String>();
|
||||
for (IBaseResource nextContained : next.getContained()) {
|
||||
if (nextContained.getId().isEmpty() == false) {
|
||||
containedIds.add(nextContained.getId().getValue());
|
||||
if (nextContained.getIdElement().isEmpty() == false) {
|
||||
containedIds.add(nextContained.getIdElement().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
@ -339,13 +339,13 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||
for (IBaseReference nextRef : references) {
|
||||
IBaseResource nextRes = (IBaseResource) nextRef.getResource();
|
||||
if (nextRes != null) {
|
||||
if (nextRes.getId().hasIdPart()) {
|
||||
if (containedIds.contains(nextRes.getId().getValue())) {
|
||||
if (nextRes.getIdElement().hasIdPart()) {
|
||||
if (containedIds.contains(nextRes.getIdElement().getValue())) {
|
||||
// Don't add contained IDs as top level resources
|
||||
continue;
|
||||
}
|
||||
|
||||
IIdType id = nextRes.getId();
|
||||
IIdType id = nextRes.getIdElement();
|
||||
if (id.hasResourceType() == false) {
|
||||
String resName = myContext.getResourceDefinition(nextRes).getName();
|
||||
id = id.withResourceType(resName);
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world.
|
||||
@ -203,6 +204,9 @@ P.O. Box number, delivery hints, and similar address information.
|
||||
|
||||
private static final long serialVersionUID = -470351694L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Address() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,9 +29,10 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
|
||||
@ -577,7 +577,7 @@ public class AllergyIntolerance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AllergyIntoleranceEventComponent extends BackboneElement {
|
||||
public static class AllergyIntoleranceEventComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@ -643,6 +643,9 @@ public class AllergyIntolerance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1773271720L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AllergyIntoleranceEventComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1179,10 +1182,16 @@ public class AllergyIntolerance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 410225544L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AllergyIntolerance() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AllergyIntolerance(Reference patient, CodeableConcept substance) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).
|
||||
@ -361,7 +361,7 @@ public class Appointment extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AppointmentParticipantComponent extends BackboneElement {
|
||||
public static class AppointmentParticipantComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Role of participant in the appointment.
|
||||
*/
|
||||
@ -397,10 +397,16 @@ public class Appointment extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1009855227L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AppointmentParticipantComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AppointmentParticipantComponent(Enumeration<Participationstatus> status) {
|
||||
super();
|
||||
this.status = status;
|
||||
@ -725,10 +731,16 @@ public class Appointment extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1809603254L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Appointment() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Appointment(Enumeration<Appointmentstatus> status, InstantType start, InstantType end) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.
|
||||
@ -242,10 +242,16 @@ public class AppointmentResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 152413469L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AppointmentResponse() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AppointmentResponse(Reference appointment, Enumeration<Participantstatus> participantStatus) {
|
||||
super();
|
||||
this.appointment = appointment;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* For referring to data content defined in other formats.
|
||||
@ -102,6 +103,9 @@ public class Attachment extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 581007080L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Attachment() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.
|
||||
@ -1109,7 +1109,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventEventComponent extends BackboneElement {
|
||||
public static class AuditEventEventComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Identifier for a family of the event.
|
||||
*/
|
||||
@ -1161,10 +1161,16 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 339035171L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventEventComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventEventComponent(CodeableConcept type, InstantType dateTime) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -1532,7 +1538,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventParticipantComponent extends BackboneElement {
|
||||
public static class AuditEventParticipantComponent 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 role-based access control security system used in the local context.
|
||||
*/
|
||||
@ -1622,10 +1628,16 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1555724321L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventParticipantComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventParticipantComponent(BooleanType requestor) {
|
||||
super();
|
||||
this.requestor = requestor;
|
||||
@ -2167,7 +2179,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventParticipantNetworkComponent extends BackboneElement {
|
||||
public static class AuditEventParticipantNetworkComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An identifier for the network access point of the user device for the audit event.
|
||||
*/
|
||||
@ -2184,6 +2196,9 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1946856025L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventParticipantNetworkComponent() {
|
||||
super();
|
||||
}
|
||||
@ -2328,7 +2343,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventSourceComponent extends BackboneElement {
|
||||
public static class AuditEventSourceComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Logical source location within the healthcare enterprise network.
|
||||
*/
|
||||
@ -2352,10 +2367,16 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -382040480L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventSourceComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventSourceComponent(StringType identifier) {
|
||||
super();
|
||||
this.identifier = identifier;
|
||||
@ -2544,7 +2565,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventObjectComponent extends BackboneElement {
|
||||
public static class AuditEventObjectComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Identifies a specific instance of the participant object. The reference should always be version specific.
|
||||
*/
|
||||
@ -2622,6 +2643,9 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 618775596L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventObjectComponent() {
|
||||
super();
|
||||
}
|
||||
@ -3116,7 +3140,7 @@ public class AuditEvent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AuditEventObjectDetailComponent extends BackboneElement {
|
||||
public static class AuditEventObjectDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Name of the property.
|
||||
*/
|
||||
@ -3133,10 +3157,16 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 11139504L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventObjectDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEventObjectDetailComponent(StringType type, Base64BinaryType value) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -3304,10 +3334,16 @@ public class AuditEvent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1495151000L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEvent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AuditEvent(AuditEventEventComponent event, AuditEventSourceComponent source) {
|
||||
super();
|
||||
this.event = event;
|
||||
|
@ -29,13 +29,14 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Base definition for all elements that are defined inside a resource - but not those in a data type.
|
||||
@ -52,6 +53,9 @@ public abstract class BackboneElement extends Element implements IBaseBackboneEl
|
||||
|
||||
private static final long serialVersionUID = -1431673179L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BackboneElement() {
|
||||
super();
|
||||
}
|
||||
|
@ -0,0 +1,24 @@
|
||||
package org.hl7.fhir.instance.model;
|
||||
|
||||
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
||||
|
||||
public abstract class BaseBinary extends Resource implements IBaseBinary {
|
||||
|
||||
@Override
|
||||
public String getContentAsBase64() {
|
||||
return getContentElement().getValueAsString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseBinary setContentAsBase64(String theContent) {
|
||||
if (theContent != null) {
|
||||
getContentElement().setValueAsString(theContent);
|
||||
} else {
|
||||
setContent(null);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
@ -8,10 +8,10 @@ public abstract class BaseExtension extends Type implements IBaseExtension<Exten
|
||||
|
||||
@Override
|
||||
public Extension setValue(IBaseDatatype theValue) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
setValue((Type)theValue);
|
||||
return (Extension) this;
|
||||
}
|
||||
|
||||
|
||||
public abstract Extension setValue(Type theValue);
|
||||
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import org.hl7.fhir.instance.model.api.IBaseReference;
|
||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||
import org.hl7.fhir.instance.model.api.ICompositeType;
|
||||
import org.hl7.fhir.instance.model.api.IIdType;
|
||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
||||
|
||||
public abstract class BaseReference extends Type implements IBaseReference, ICompositeType {
|
||||
|
||||
@ -12,7 +13,26 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
||||
*/
|
||||
private transient IBaseResource resource;
|
||||
|
||||
/**
|
||||
public BaseReference(String theReference) {
|
||||
setReference(theReference);
|
||||
}
|
||||
|
||||
public BaseReference(IdType theReference) {
|
||||
if (theReference != null) {
|
||||
setReference(theReference.getValue());
|
||||
} else {
|
||||
setReference(null);
|
||||
}
|
||||
}
|
||||
|
||||
public BaseReference(IRefImplResource theResource) {
|
||||
resource = theResource;
|
||||
}
|
||||
|
||||
public BaseReference() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the actual resource referenced by this reference. Note that the resource itself is not
|
||||
* a part of the FHIR "wire format" and is never transmitted or receieved inline, but this property
|
||||
* may be changed/accessed by parsers.
|
||||
@ -37,4 +57,9 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
||||
resource = theResource;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -29,15 +29,15 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
|
||||
@ -92,10 +92,16 @@ public class Basic extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 916539354L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Basic() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Basic(CodeableConcept code) {
|
||||
super();
|
||||
this.code = code;
|
||||
|
@ -29,22 +29,22 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A binary resource can contain any content, whether text, image, pdf, zip archive, etc.
|
||||
*/
|
||||
@ResourceDef(name="Binary", profile="http://hl7.org/fhir/Profile/Binary")
|
||||
public class Binary extends Resource {
|
||||
public class Binary extends BaseBinary implements IBaseBinary {
|
||||
|
||||
/**
|
||||
* MimeType of the binary content represented as a standard MimeType (BCP 13).
|
||||
@ -62,10 +62,16 @@ public class Binary extends Resource {
|
||||
|
||||
private static final long serialVersionUID = 974764407L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Binary() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Binary(CodeType contentType, Base64BinaryType content) {
|
||||
super();
|
||||
this.contentType = contentType;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.
|
||||
@ -95,10 +95,16 @@ public class BodySite extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1568109920L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BodySite() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BodySite(Reference patient) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import java.math.*;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A container for a collection of resources.
|
||||
@ -362,7 +362,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class BundleLinkComponent extends BackboneElement {
|
||||
public static class BundleLinkComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]].
|
||||
*/
|
||||
@ -379,10 +379,16 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = -1010386066L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleLinkComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleLinkComponent(StringType relation, UriType url) {
|
||||
super();
|
||||
this.relation = relation;
|
||||
@ -521,7 +527,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class BundleEntryComponent extends BackboneElement {
|
||||
public static class BundleEntryComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The Base URL for the resource, if different to the base URL specified for the bundle as a whole.
|
||||
*/
|
||||
@ -566,6 +572,9 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = -1846898377L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntryComponent() {
|
||||
super();
|
||||
}
|
||||
@ -807,7 +816,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class BundleEntrySearchComponent extends BackboneElement {
|
||||
public static class BundleEntrySearchComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Why this entry is in the result set - whether it's included as a match or because of an _include requirement.
|
||||
*/
|
||||
@ -824,6 +833,9 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = 837739866L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntrySearchComponent() {
|
||||
super();
|
||||
}
|
||||
@ -968,7 +980,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class BundleEntryTransactionComponent extends BackboneElement {
|
||||
public static class BundleEntryTransactionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The HTTP verb for this entry in either a update history, or a transaction/ transaction response.
|
||||
*/
|
||||
@ -1013,10 +1025,16 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = -769185862L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntryTransactionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntryTransactionComponent(Enumeration<HttpVerb> method, UriType url) {
|
||||
super();
|
||||
this.method = method;
|
||||
@ -1365,7 +1383,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class BundleEntryTransactionResponseComponent extends BackboneElement {
|
||||
public static class BundleEntryTransactionResponseComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The status code returned by processing this entry.
|
||||
*/
|
||||
@ -1396,10 +1414,16 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = -1526413234L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntryTransactionResponseComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public BundleEntryTransactionResponseComponent(StringType status) {
|
||||
super();
|
||||
this.status = status;
|
||||
@ -1688,10 +1712,16 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||
|
||||
private static final long serialVersionUID = -1380125450L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Bundle() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Bundle(Enumeration<BundleType> type) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions.
|
||||
@ -403,7 +403,7 @@ public class CarePlan extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CarePlanParticipantComponent extends BackboneElement {
|
||||
public static class CarePlanParticipantComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Indicates specific responsibility of an individual within the care plan. E.g. "Primary physician", "Team coordinator", "Caregiver", etc.
|
||||
*/
|
||||
@ -425,10 +425,16 @@ public class CarePlan extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -466811117L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlanParticipantComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlanParticipantComponent(Reference member) {
|
||||
super();
|
||||
this.member = member;
|
||||
@ -539,7 +545,7 @@ public class CarePlan extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CarePlanActivityComponent extends BackboneElement {
|
||||
public static class CarePlanActivityComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.
|
||||
*/
|
||||
@ -580,6 +586,9 @@ public class CarePlan extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1011983328L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlanActivityComponent() {
|
||||
super();
|
||||
}
|
||||
@ -796,7 +805,7 @@ public class CarePlan extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CarePlanActivityDetailComponent extends BackboneElement {
|
||||
public static class CarePlanActivityDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* High-level categorization of the type of activity in a care plan.
|
||||
*/
|
||||
@ -917,10 +926,16 @@ public class CarePlan extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1276666801L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlanActivityDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlanActivityDetailComponent(Enumeration<CarePlanActivityCategory> category, BooleanType prohibited) {
|
||||
super();
|
||||
this.category = category;
|
||||
@ -1687,10 +1702,16 @@ public class CarePlan extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1877285959L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlan() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CarePlan(Enumeration<CarePlanStatus> status) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import java.math.*;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery.
|
||||
@ -262,7 +262,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class PayeeComponent extends BackboneElement {
|
||||
public static class PayeeComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Party to be reimbursed: Subscriber, provider, other.
|
||||
*/
|
||||
@ -308,6 +308,9 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -503108488L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public PayeeComponent() {
|
||||
super();
|
||||
}
|
||||
@ -516,7 +519,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DiagnosisComponent extends BackboneElement {
|
||||
public static class DiagnosisComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Sequence of diagnosis which serves to order and provide a link.
|
||||
*/
|
||||
@ -533,10 +536,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -795010186L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosisComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosisComponent(PositiveIntType sequence, Coding diagnosis) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -654,7 +663,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CoverageComponent extends BackboneElement {
|
||||
public static class CoverageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line item.
|
||||
*/
|
||||
@ -723,10 +732,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 621250924L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CoverageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CoverageComponent(PositiveIntType sequence, BooleanType focal, Reference coverage, Coding relationship) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -1129,7 +1144,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ItemsComponent extends BackboneElement {
|
||||
public static class ItemsComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -1256,10 +1271,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -311028698L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemsComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemsComponent(PositiveIntType sequence, Coding type, Coding service) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -1971,7 +1992,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DetailComponent extends BackboneElement {
|
||||
public static class DetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -2044,10 +2065,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1641314433L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DetailComponent(PositiveIntType sequence, Coding type, Coding service) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -2450,7 +2477,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SubDetailComponent extends BackboneElement {
|
||||
public static class SubDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -2516,10 +2543,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -947666334L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubDetailComponent(PositiveIntType sequence, Coding type, Coding service) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -2876,7 +2909,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ProsthesisComponent extends BackboneElement {
|
||||
public static class ProsthesisComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Indicates whether this is the initial placement of a fixed prosthesis.
|
||||
*/
|
||||
@ -2900,6 +2933,9 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1739349641L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ProsthesisComponent() {
|
||||
super();
|
||||
}
|
||||
@ -3067,7 +3103,7 @@ public class Claim extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MissingTeethComponent extends BackboneElement {
|
||||
public static class MissingTeethComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The code identifying which tooth is missing.
|
||||
*/
|
||||
@ -3091,10 +3127,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 352913313L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MissingTeethComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MissingTeethComponent(Coding tooth) {
|
||||
super();
|
||||
this.tooth = tooth;
|
||||
@ -3491,10 +3533,16 @@ public class Claim extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 764017933L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Claim() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Claim(Enumeration<TypeLink> type, Reference patient) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import java.math.*;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides the adjudication details from the processing of a Claim resource.
|
||||
@ -120,7 +120,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ItemsComponent extends BackboneElement {
|
||||
public static class ItemsComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -151,10 +151,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1917866697L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemsComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemsComponent(PositiveIntType sequenceLinkId) {
|
||||
super();
|
||||
this.sequenceLinkId = sequenceLinkId;
|
||||
@ -400,7 +406,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ItemAdjudicationComponent extends BackboneElement {
|
||||
public static class ItemAdjudicationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.
|
||||
*/
|
||||
@ -424,10 +430,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -949880587L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemAdjudicationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemAdjudicationComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -575,7 +587,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ItemDetailComponent extends BackboneElement {
|
||||
public static class ItemDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -599,10 +611,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1751018357L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ItemDetailComponent(PositiveIntType sequenceLinkId) {
|
||||
super();
|
||||
this.sequenceLinkId = sequenceLinkId;
|
||||
@ -786,7 +804,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DetailAdjudicationComponent extends BackboneElement {
|
||||
public static class DetailAdjudicationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.
|
||||
*/
|
||||
@ -810,10 +828,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -949880587L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DetailAdjudicationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DetailAdjudicationComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -961,7 +985,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SubDetailComponent extends BackboneElement {
|
||||
public static class SubDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line number.
|
||||
*/
|
||||
@ -978,10 +1002,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1780202110L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubDetailComponent(PositiveIntType sequenceLinkId) {
|
||||
super();
|
||||
this.sequenceLinkId = sequenceLinkId;
|
||||
@ -1119,7 +1149,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SubdetailAdjudicationComponent extends BackboneElement {
|
||||
public static class SubdetailAdjudicationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.
|
||||
*/
|
||||
@ -1143,10 +1173,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -949880587L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubdetailAdjudicationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SubdetailAdjudicationComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -1294,7 +1330,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AddedItemComponent extends BackboneElement {
|
||||
public static class AddedItemComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* List of input service items which this service line is intended to replace.
|
||||
*/
|
||||
@ -1339,10 +1375,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1675935854L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemComponent(Coding service) {
|
||||
super();
|
||||
this.service = service;
|
||||
@ -1655,7 +1697,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AddedItemAdjudicationComponent extends BackboneElement {
|
||||
public static class AddedItemAdjudicationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.
|
||||
*/
|
||||
@ -1679,10 +1721,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -949880587L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemAdjudicationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemAdjudicationComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -1830,7 +1878,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AddedItemsDetailComponent extends BackboneElement {
|
||||
public static class AddedItemsDetailComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code to indicate the Professional Service or Product supplied.
|
||||
*/
|
||||
@ -1854,10 +1902,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -2104242020L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemsDetailComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemsDetailComponent(Coding service) {
|
||||
super();
|
||||
this.service = service;
|
||||
@ -2000,7 +2054,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class AddedItemDetailAdjudicationComponent extends BackboneElement {
|
||||
public static class AddedItemDetailAdjudicationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code indicating: Co-Pay, deductable, elegible, benefit, tax, etc.
|
||||
*/
|
||||
@ -2024,10 +2078,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -949880587L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemDetailAdjudicationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public AddedItemDetailAdjudicationComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -2175,7 +2235,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ErrorsComponent extends BackboneElement {
|
||||
public static class ErrorsComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The sequence number of the line item submitted which contains the error. This value is ommitted when the error is elsewhere.
|
||||
*/
|
||||
@ -2206,10 +2266,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1893641175L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ErrorsComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ErrorsComponent(Coding code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -2424,7 +2490,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class NotesComponent extends BackboneElement {
|
||||
public static class NotesComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An integer associated with each note which may be referred to from each service line item.
|
||||
*/
|
||||
@ -2448,6 +2514,9 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1768923951L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public NotesComponent() {
|
||||
super();
|
||||
}
|
||||
@ -2615,7 +2684,7 @@ public class ClaimResponse extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CoverageComponent extends BackboneElement {
|
||||
public static class CoverageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A service line item.
|
||||
*/
|
||||
@ -2684,10 +2753,16 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 621250924L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CoverageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CoverageComponent(PositiveIntType sequence, BooleanType focal, Reference coverage, Coding relationship) {
|
||||
super();
|
||||
this.sequence = sequence;
|
||||
@ -3293,6 +3368,9 @@ public class ClaimResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1720247756L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClaimResponse() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score.
|
||||
@ -133,7 +133,7 @@ public class ClinicalImpression extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ClinicalImpressionInvestigationsComponent extends BackboneElement {
|
||||
public static class ClinicalImpressionInvestigationsComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@ -155,10 +155,16 @@ public class ClinicalImpression extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -301363326L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionInvestigationsComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionInvestigationsComponent(CodeableConcept code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -283,7 +289,7 @@ public class ClinicalImpression extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ClinicalImpressionFindingComponent extends BackboneElement {
|
||||
public static class ClinicalImpressionFindingComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Specific text of code for finding or diagnosis.
|
||||
*/
|
||||
@ -300,10 +306,16 @@ public class ClinicalImpression extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -888590978L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionFindingComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionFindingComponent(CodeableConcept item) {
|
||||
super();
|
||||
this.item = item;
|
||||
@ -424,7 +436,7 @@ public class ClinicalImpression extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ClinicalImpressionRuledOutComponent extends BackboneElement {
|
||||
public static class ClinicalImpressionRuledOutComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Specific text of code for diagnosis.
|
||||
*/
|
||||
@ -441,10 +453,16 @@ public class ClinicalImpression extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1001661243L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionRuledOutComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpressionRuledOutComponent(CodeableConcept item) {
|
||||
super();
|
||||
this.item = item;
|
||||
@ -715,10 +733,16 @@ public class ClinicalImpression extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1650458630L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpression() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ClinicalImpression(Reference patient, Enumeration<ClinicalImpressionStatus> status) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.
|
||||
@ -60,6 +61,9 @@ public class CodeableConcept extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 760353246L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CodeableConcept() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A reference to a code defined by a terminology system.
|
||||
@ -81,6 +82,9 @@ public class Coding extends Type implements IBaseCoding, ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 2019442517L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Coding() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* An occurrence of information being transmitted. E.g., an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition.
|
||||
@ -161,7 +161,7 @@ public class Communication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CommunicationPayloadComponent extends BackboneElement {
|
||||
public static class CommunicationPayloadComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An individual message part for multi-part messages.
|
||||
*/
|
||||
@ -171,10 +171,16 @@ public class Communication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1763459053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CommunicationPayloadComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CommunicationPayloadComponent(Type content) {
|
||||
super();
|
||||
this.content = content;
|
||||
@ -370,6 +376,9 @@ public class Communication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -744574729L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Communication() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A request to convey information. E.g., the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.
|
||||
@ -231,7 +231,7 @@ public class CommunicationRequest extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CommunicationRequestPayloadComponent extends BackboneElement {
|
||||
public static class CommunicationRequestPayloadComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An individual message part for multi-part messages.
|
||||
*/
|
||||
@ -241,10 +241,16 @@ public class CommunicationRequest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1763459053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CommunicationRequestPayloadComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CommunicationRequestPayloadComponent(Type content) {
|
||||
super();
|
||||
this.content = content;
|
||||
@ -459,6 +465,9 @@ public class CommunicationRequest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 431529355L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CommunicationRequest() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement.
|
||||
@ -261,7 +261,7 @@ public class Composition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CompositionAttesterComponent extends BackboneElement {
|
||||
public static class CompositionAttesterComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The type of attestation the authenticator offers.
|
||||
*/
|
||||
@ -290,6 +290,9 @@ public class Composition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -436604745L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CompositionAttesterComponent() {
|
||||
super();
|
||||
}
|
||||
@ -485,7 +488,7 @@ public class Composition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class CompositionEventComponent extends BackboneElement {
|
||||
public static class CompositionEventComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@ -514,6 +517,9 @@ public class Composition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1581379774L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public CompositionEventComponent() {
|
||||
super();
|
||||
}
|
||||
@ -684,7 +690,7 @@ public class Composition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SectionComponent extends BackboneElement {
|
||||
public static class SectionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.
|
||||
*/
|
||||
@ -720,6 +726,9 @@ public class Composition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1683518435L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SectionComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1051,10 +1060,16 @@ public class Composition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 2127852326L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Composition() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Composition(DateTimeType date, CodeableConcept type, Enumeration<CompositionStatus> status, Reference subject) {
|
||||
super();
|
||||
this.date = date;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.Enumerations.*;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models.
|
||||
@ -218,7 +218,7 @@ public class ConceptMap extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConceptMapContactComponent extends BackboneElement {
|
||||
public static class ConceptMapContactComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The name of an individual to contact regarding the concept map.
|
||||
*/
|
||||
@ -235,6 +235,9 @@ public class ConceptMap extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1179697803L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMapContactComponent() {
|
||||
super();
|
||||
}
|
||||
@ -374,7 +377,7 @@ public class ConceptMap extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConceptMapElementComponent extends BackboneElement {
|
||||
public static class ConceptMapElementComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system).
|
||||
*/
|
||||
@ -405,6 +408,9 @@ public class ConceptMap extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 2079040744L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMapElementComponent() {
|
||||
super();
|
||||
}
|
||||
@ -642,7 +648,7 @@ public class ConceptMap extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class OtherElementComponent extends BackboneElement {
|
||||
public static class OtherElementComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition.
|
||||
*/
|
||||
@ -666,10 +672,16 @@ public class ConceptMap extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1488522448L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public OtherElementComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public OtherElementComponent(UriType element, UriType codeSystem, StringType code) {
|
||||
super();
|
||||
this.element = element;
|
||||
@ -858,7 +870,7 @@ public class ConceptMap extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConceptMapElementMapComponent extends BackboneElement {
|
||||
public static class ConceptMapElementMapComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).
|
||||
*/
|
||||
@ -896,10 +908,16 @@ public class ConceptMap extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 606421694L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMapElementMapComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMapElementMapComponent(Enumeration<ConceptEquivalence> equivalence) {
|
||||
super();
|
||||
this.equivalence = equivalence;
|
||||
@ -1305,10 +1323,16 @@ public class ConceptMap extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 729155675L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMap() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConceptMap(Enumeration<ConformanceResourceStatus> status, Type source, Type target) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary.
|
||||
@ -175,7 +175,7 @@ public class Condition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConditionStageComponent extends BackboneElement {
|
||||
public static class ConditionStageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific.
|
||||
*/
|
||||
@ -197,6 +197,9 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1961530405L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConditionStageComponent() {
|
||||
super();
|
||||
}
|
||||
@ -320,7 +323,7 @@ public class Condition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConditionEvidenceComponent extends BackboneElement {
|
||||
public static class ConditionEvidenceComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A manifestation or symptom that led to the recording of this condition.
|
||||
*/
|
||||
@ -342,6 +345,9 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 945689926L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConditionEvidenceComponent() {
|
||||
super();
|
||||
}
|
||||
@ -465,7 +471,7 @@ public class Condition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConditionLocationComponent extends BackboneElement {
|
||||
public static class ConditionLocationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code that identifies the structural location.
|
||||
*/
|
||||
@ -475,6 +481,9 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1429072605L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConditionLocationComponent() {
|
||||
super();
|
||||
}
|
||||
@ -555,7 +564,7 @@ public class Condition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConditionDueToComponent extends BackboneElement {
|
||||
public static class ConditionDueToComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code that identifies the target of this relationship. The code takes the place of a detailed instance target.
|
||||
*/
|
||||
@ -577,6 +586,9 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -660755940L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConditionDueToComponent() {
|
||||
super();
|
||||
}
|
||||
@ -686,7 +698,7 @@ public class Condition extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConditionOccurredFollowingComponent extends BackboneElement {
|
||||
public static class ConditionOccurredFollowingComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Code that identifies the target of this relationship. The code takes the place of a detailed instance target.
|
||||
*/
|
||||
@ -708,6 +720,9 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -660755940L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConditionOccurredFollowingComponent() {
|
||||
super();
|
||||
}
|
||||
@ -952,10 +967,16 @@ public class Condition extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1018838673L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Condition() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Condition(Reference patient, CodeableConcept code, Enumeration<ConditionStatus> clinicalStatus) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.Enumerations.*;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation.
|
||||
@ -848,7 +848,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceContactComponent extends BackboneElement {
|
||||
public static class ConformanceContactComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The name of an individual to contact regarding the conformance.
|
||||
*/
|
||||
@ -865,6 +865,9 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1179697803L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceContactComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1004,7 +1007,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceSoftwareComponent extends BackboneElement {
|
||||
public static class ConformanceSoftwareComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Name software is known by.
|
||||
*/
|
||||
@ -1028,10 +1031,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1819769027L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceSoftwareComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceSoftwareComponent(StringType name) {
|
||||
super();
|
||||
this.name = name;
|
||||
@ -1226,7 +1235,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceImplementationComponent extends BackboneElement {
|
||||
public static class ConformanceImplementationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Information about the specific installation that this conformance statement relates to.
|
||||
*/
|
||||
@ -1243,10 +1252,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -289238508L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceImplementationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceImplementationComponent(StringType description) {
|
||||
super();
|
||||
this.description = description;
|
||||
@ -1388,7 +1403,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestComponent extends BackboneElement {
|
||||
public static class ConformanceRestComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Identifies whether this portion of the statement is describing ability to initiate or receive restful operations.
|
||||
*/
|
||||
@ -1447,10 +1462,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -535980615L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestComponent(Enumeration<RestfulConformanceMode> mode) {
|
||||
super();
|
||||
this.mode = mode;
|
||||
@ -1882,7 +1903,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestSecurityComponent extends BackboneElement {
|
||||
public static class ConformanceRestSecurityComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Server adds CORS headers when responding to requests - this enables javascript applications to use the server.
|
||||
*/
|
||||
@ -1913,6 +1934,9 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 391663952L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestSecurityComponent() {
|
||||
super();
|
||||
}
|
||||
@ -2147,7 +2171,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestSecurityCertificateComponent extends BackboneElement {
|
||||
public static class ConformanceRestSecurityCertificateComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Mime type for certificate.
|
||||
*/
|
||||
@ -2164,6 +2188,9 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 2092655854L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestSecurityCertificateComponent() {
|
||||
super();
|
||||
}
|
||||
@ -2308,7 +2335,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestResourceComponent extends BackboneElement {
|
||||
public static class ConformanceRestResourceComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A type of resource exposed via the restful interface.
|
||||
*/
|
||||
@ -2393,10 +2420,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1477462605L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestResourceComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestResourceComponent(CodeType type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -2983,7 +3016,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ResourceInteractionComponent extends BackboneElement {
|
||||
public static class ResourceInteractionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Coded identifier of the operation, supported by the system resource.
|
||||
*/
|
||||
@ -3000,10 +3033,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -437507806L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ResourceInteractionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ResourceInteractionComponent(Enumeration<TypeRestfulInteraction> code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -3145,7 +3184,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestResourceSearchParamComponent extends BackboneElement {
|
||||
public static class ConformanceRestResourceSearchParamComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The name of the search parameter used in the interface.
|
||||
*/
|
||||
@ -3190,10 +3229,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 938312816L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestResourceSearchParamComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestResourceSearchParamComponent(StringType name, Enumeration<SearchParamType> type) {
|
||||
super();
|
||||
this.name = name;
|
||||
@ -3559,7 +3604,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SystemInteractionComponent extends BackboneElement {
|
||||
public static class SystemInteractionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A coded identifier of the operation, supported by the system.
|
||||
*/
|
||||
@ -3576,10 +3621,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 510675287L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SystemInteractionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SystemInteractionComponent(Enumeration<SystemRestfulInteraction> code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -3721,7 +3772,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceRestOperationComponent extends BackboneElement {
|
||||
public static class ConformanceRestOperationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The name of a query, which is used in the _query parameter when the query is called.
|
||||
*/
|
||||
@ -3743,10 +3794,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 122107272L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestOperationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceRestOperationComponent(StringType name, Reference definition) {
|
||||
super();
|
||||
this.name = name;
|
||||
@ -3884,7 +3941,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceMessagingComponent extends BackboneElement {
|
||||
public static class ConformanceMessagingComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An address to which messages and/or replies are to be sent.
|
||||
*/
|
||||
@ -3915,6 +3972,9 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1356115534L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceMessagingComponent() {
|
||||
super();
|
||||
}
|
||||
@ -4155,7 +4215,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceMessagingEventComponent extends BackboneElement {
|
||||
public static class ConformanceMessagingEventComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A coded identifier of a supported messaging event.
|
||||
*/
|
||||
@ -4224,10 +4284,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1680159501L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceMessagingEventComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceMessagingEventComponent(Coding code, Enumeration<MessageConformanceEventMode> mode, CodeType focus, Reference request, Reference response) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -4641,7 +4707,7 @@ public class Conformance extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ConformanceDocumentComponent extends BackboneElement {
|
||||
public static class ConformanceDocumentComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Mode of this document declaration - whether application is producer or consumer.
|
||||
*/
|
||||
@ -4670,10 +4736,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1059555053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceDocumentComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ConformanceDocumentComponent(Enumeration<DocumentMode> mode, Reference profile) {
|
||||
super();
|
||||
this.mode = mode;
|
||||
@ -5009,10 +5081,16 @@ public class Conformance extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1631871430L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Conformance() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Conformance(DateTimeType date, IdType fhirVersion, BooleanType acceptUnknown) {
|
||||
super();
|
||||
this.date = date;
|
||||
|
@ -29,12 +29,12 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
|
||||
public class Constants {
|
||||
|
||||
public final static String VERSION = "0.5.0";
|
||||
public final static String REVISION = "5239";
|
||||
public final static String DATE = "Tue May 05 10:00:24 EDT 2015";
|
||||
public final static String DATE = "Tue May 05 16:13:57 EDT 2015";
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Details for All kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
|
||||
@ -288,6 +289,9 @@ public class ContactPoint extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 1972725348L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ContactPoint() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import java.math.*;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A formal agreement between parties regarding the conduct of business, exchange of information or other matters.
|
||||
@ -48,7 +48,7 @@ import org.hl7.fhir.instance.model.api.*;
|
||||
public class Contract extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class ActorComponent extends BackboneElement {
|
||||
public static class ActorComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Who or what actors are assigned roles in this Contract.
|
||||
*/
|
||||
@ -70,10 +70,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1371245689L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ActorComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ActorComponent(Reference entity) {
|
||||
super();
|
||||
this.entity = entity;
|
||||
@ -204,7 +210,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ValuedItemComponent extends BackboneElement {
|
||||
public static class ValuedItemComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Specific type of Contract Valued Item that may be priced.
|
||||
*/
|
||||
@ -263,6 +269,9 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1311183770L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ValuedItemComponent() {
|
||||
super();
|
||||
}
|
||||
@ -606,7 +615,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SignatoryComponent extends BackboneElement {
|
||||
public static class SignatoryComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Role of this Contract signer, e.g., notary, grantee.
|
||||
*/
|
||||
@ -635,10 +644,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1870392043L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SignatoryComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SignatoryComponent(Coding type, Reference party, StringType signature) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -799,7 +814,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class TermComponent extends BackboneElement {
|
||||
public static class TermComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Unique identifier for this particular Contract Provision.
|
||||
*/
|
||||
@ -891,6 +906,9 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1137577465L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TermComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1417,7 +1435,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class TermActorComponent extends BackboneElement {
|
||||
public static class TermActorComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The actor assigned a role in this Contract Provision.
|
||||
*/
|
||||
@ -1439,10 +1457,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1371245689L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TermActorComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TermActorComponent(Reference entity) {
|
||||
super();
|
||||
this.entity = entity;
|
||||
@ -1573,7 +1597,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class TermValuedItemComponent extends BackboneElement {
|
||||
public static class TermValuedItemComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Specific type of Contract Provision Valued Item that may be priced.
|
||||
*/
|
||||
@ -1632,6 +1656,9 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1311183770L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TermValuedItemComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1975,7 +2002,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class FriendlyLanguageComponent extends BackboneElement {
|
||||
public static class FriendlyLanguageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.
|
||||
*/
|
||||
@ -1985,10 +2012,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1763459053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FriendlyLanguageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FriendlyLanguageComponent(Type content) {
|
||||
super();
|
||||
this.content = content;
|
||||
@ -2070,7 +2103,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class LegalLanguageComponent extends BackboneElement {
|
||||
public static class LegalLanguageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Contract legal text in human renderable form.
|
||||
*/
|
||||
@ -2080,10 +2113,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1763459053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public LegalLanguageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public LegalLanguageComponent(Type content) {
|
||||
super();
|
||||
this.content = content;
|
||||
@ -2165,7 +2204,7 @@ public class Contract extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ComputableLanguageComponent extends BackboneElement {
|
||||
public static class ComputableLanguageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).
|
||||
*/
|
||||
@ -2175,10 +2214,16 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1763459053L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ComputableLanguageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ComputableLanguageComponent(Type content) {
|
||||
super();
|
||||
this.content = content;
|
||||
@ -2402,6 +2447,9 @@ public class Contract extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1785608373L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Contract() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.
|
||||
@ -47,7 +47,7 @@ import org.hl7.fhir.instance.model.api.*;
|
||||
public class Contraindication extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class ContraindicationMitigationComponent extends BackboneElement {
|
||||
public static class ContraindicationMitigationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified contraindication.
|
||||
*/
|
||||
@ -76,10 +76,16 @@ public class Contraindication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1994768436L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ContraindicationMitigationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ContraindicationMitigationComponent(CodeableConcept action) {
|
||||
super();
|
||||
this.action = action;
|
||||
@ -333,6 +339,9 @@ public class Contraindication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 528603336L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Contraindication() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,9 +29,10 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Financial instrument which may be used to pay for or reimburse for health care products and services.
|
||||
@ -161,6 +161,9 @@ public class Coverage extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1312031251L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Coverage() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.Enumerations.*;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* The formal description of a single piece of information that can be gathered and reported.
|
||||
@ -176,7 +176,7 @@ public class DataElement extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DataElementContactComponent extends BackboneElement {
|
||||
public static class DataElementContactComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The name of an individual to contact regarding the data element.
|
||||
*/
|
||||
@ -193,6 +193,9 @@ public class DataElement extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1179697803L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DataElementContactComponent() {
|
||||
super();
|
||||
}
|
||||
@ -332,7 +335,7 @@ public class DataElement extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DataElementMappingComponent extends BackboneElement {
|
||||
public static class DataElementMappingComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* An Internal id that is used to identify this mapping set when specific mappings are made on a per-element basis.
|
||||
*/
|
||||
@ -363,10 +366,16 @@ public class DataElement extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 299630820L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DataElementMappingComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DataElementMappingComponent(IdType identity) {
|
||||
super();
|
||||
this.identity = identity;
|
||||
@ -711,10 +720,16 @@ public class DataElement extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1444116299L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DataElement() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DataElement(Enumeration<ConformanceResourceStatus> status) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource identifies an instance of a manufactured thing that is used in the provision of healthcare without being substantially changed through that activity. The device may be a machine, an insert, a computer, an application, etc. This includes durable (reusable) medical equipment as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health.
|
||||
@ -254,10 +254,16 @@ public class Device extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -699591241L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Device() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Device(CodeableConcept type) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Describes the characteristics, operational status and capabilities of a medical-related component of a medical device.
|
||||
@ -245,7 +245,7 @@ public class DeviceComponent extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DeviceComponentProductionSpecificationComponent extends BackboneElement {
|
||||
public static class DeviceComponentProductionSpecificationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc.
|
||||
*/
|
||||
@ -269,6 +269,9 @@ public class DeviceComponent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1476597516L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceComponentProductionSpecificationComponent() {
|
||||
super();
|
||||
}
|
||||
@ -496,10 +499,16 @@ public class DeviceComponent extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1179239259L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceComponent(CodeableConcept type, Identifier identifier, InstantType lastSystemChange) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Describes a measurement, calculation or setting capability of a medical device.
|
||||
@ -589,7 +589,7 @@ public class DeviceMetric extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DeviceMetricCalibrationComponent extends BackboneElement {
|
||||
public static class DeviceMetricCalibrationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Describes the type of the calibration method.
|
||||
*/
|
||||
@ -613,6 +613,9 @@ public class DeviceMetric extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 407720126L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceMetricCalibrationComponent() {
|
||||
super();
|
||||
}
|
||||
@ -896,10 +899,16 @@ period.
|
||||
|
||||
private static final long serialVersionUID = -480554704L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceMetric() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceMetric(CodeableConcept type, Identifier identifier, Enumeration<MetricCategory> category) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.
|
||||
@ -438,10 +438,16 @@ public class DeviceUseRequest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1208477058L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceUseRequest() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceUseRequest(Reference device, Reference subject) {
|
||||
super();
|
||||
this.device = device;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.
|
||||
@ -121,10 +121,16 @@ public class DeviceUseStatement extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1668571635L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceUseStatement() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DeviceUseStatement(Reference device, Reference subject) {
|
||||
super();
|
||||
this.device = device;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A record of a request for a diagnostic investigation service to be performed.
|
||||
@ -373,7 +373,7 @@ public class DiagnosticOrder extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DiagnosticOrderEventComponent extends BackboneElement {
|
||||
public static class DiagnosticOrderEventComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The status for the event.
|
||||
*/
|
||||
@ -409,10 +409,16 @@ public class DiagnosticOrder extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -370793723L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrderEventComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrderEventComponent(Enumeration<DiagnosticOrderStatus> status, DateTimeType dateTime) {
|
||||
super();
|
||||
this.status = status;
|
||||
@ -619,7 +625,7 @@ public class DiagnosticOrder extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DiagnosticOrderItemComponent extends BackboneElement {
|
||||
public static class DiagnosticOrderItemComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested.
|
||||
*/
|
||||
@ -662,10 +668,16 @@ public class DiagnosticOrder extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1960490281L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrderItemComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrderItemComponent(CodeableConcept code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -1043,10 +1055,16 @@ public class DiagnosticOrder extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1028294242L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrder() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticOrder(Reference subject) {
|
||||
super();
|
||||
this.subject = subject;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretation, and formatted representation of diagnostic reports.
|
||||
@ -189,7 +189,7 @@ public class DiagnosticReport extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DiagnosticReportImageComponent extends BackboneElement {
|
||||
public static class DiagnosticReportImageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.
|
||||
*/
|
||||
@ -211,10 +211,16 @@ public class DiagnosticReport extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 935791940L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticReportImageComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticReportImageComponent(Reference link) {
|
||||
super();
|
||||
this.link = link;
|
||||
@ -510,10 +516,16 @@ public class DiagnosticReport extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 140402748L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticReport() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DiagnosticReport(CodeableConcept name, Enumeration<DiagnosticReportStatus> status, DateTimeType issued, Reference subject, Reference performer, Type diagnostic) {
|
||||
super();
|
||||
this.name = name;
|
||||
|
@ -29,9 +29,10 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A manifest that defines a set of documents.
|
||||
@ -133,7 +133,7 @@ public class DocumentManifest extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DocumentManifestContentComponent extends BackboneElement {
|
||||
public static class DocumentManifestContentComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The list of DocumentReference or Media Resources, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed.
|
||||
*/
|
||||
@ -143,10 +143,16 @@ public class DocumentManifest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -347538500L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentManifestContentComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentManifestContentComponent(Type p) {
|
||||
super();
|
||||
this.p = p;
|
||||
@ -228,7 +234,7 @@ public class DocumentManifest extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DocumentManifestRelatedComponent extends BackboneElement {
|
||||
public static class DocumentManifestRelatedComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Related identifier to this DocumentManifest. If both id and ref are present they shall refer to the same thing.
|
||||
*/
|
||||
@ -250,6 +256,9 @@ public class DocumentManifest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1670123330L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentManifestRelatedComponent() {
|
||||
super();
|
||||
}
|
||||
@ -459,10 +468,16 @@ public class DocumentManifest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -2056683927L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentManifest() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentManifest(Enumeration<DocumentReferenceStatus> status) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A reference to a document.
|
||||
@ -233,7 +233,7 @@ public class DocumentReference extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DocumentReferenceRelatesToComponent extends BackboneElement {
|
||||
public static class DocumentReferenceRelatesToComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The type of relationship that this document has with anther document.
|
||||
*/
|
||||
@ -255,10 +255,16 @@ public class DocumentReference extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -347257495L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReferenceRelatesToComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReferenceRelatesToComponent(Enumeration<DocumentRelationshipType> code, Reference target) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -396,7 +402,7 @@ public class DocumentReference extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DocumentReferenceContextComponent extends BackboneElement {
|
||||
public static class DocumentReferenceContextComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@ -446,6 +452,9 @@ public class DocumentReference extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -225578230L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReferenceContextComponent() {
|
||||
super();
|
||||
}
|
||||
@ -708,7 +717,7 @@ public class DocumentReference extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class DocumentReferenceContextRelatedComponent extends BackboneElement {
|
||||
public static class DocumentReferenceContextRelatedComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing.
|
||||
*/
|
||||
@ -730,6 +739,9 @@ public class DocumentReference extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1670123330L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReferenceContextRelatedComponent() {
|
||||
super();
|
||||
}
|
||||
@ -986,10 +998,16 @@ public class DocumentReference extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1440270142L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReference() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DocumentReference(CodeableConcept type, InstantType indexed, Enumeration<DocumentReferenceStatus> status) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,21 +29,20 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A resource that includes narrative, extensions, and contained resources.
|
||||
*/
|
||||
@ResourceDef(name="DomainResource", profile="http://hl7.org/fhir/Profile/DomainResource")
|
||||
public abstract class DomainResource extends Resource {
|
||||
public abstract class DomainResource extends Resource implements IBaseHasExtensions, IBaseHasModifierExtensions, IDomainResource {
|
||||
|
||||
/**
|
||||
* A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
|
||||
@ -75,6 +74,9 @@ public abstract class DomainResource extends Resource {
|
||||
|
||||
private static final long serialVersionUID = -970285559L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public DomainResource() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,9 +29,10 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Base definition for all elements in a resource.
|
||||
@ -59,6 +60,9 @@ public abstract class Element extends Base implements IBaseHasExtensions {
|
||||
|
||||
private static final long serialVersionUID = -158027598L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Element() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Captures constraints on each element within the resource, profile, or extension.
|
||||
@ -446,7 +447,8 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
}
|
||||
}
|
||||
|
||||
public static class ElementDefinitionSlicingComponent extends Element {
|
||||
@Block()
|
||||
public static class ElementDefinitionSlicingComponent extends Element implements IBaseDatatypeElement {
|
||||
/**
|
||||
* Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.
|
||||
*/
|
||||
@ -477,10 +479,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -321298491L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionSlicingComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionSlicingComponent(Enumeration<ResourceSlicingRules> rules) {
|
||||
super();
|
||||
this.rules = rules;
|
||||
@ -730,7 +738,8 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
}
|
||||
|
||||
public static class TypeRefComponent extends Element {
|
||||
@Block()
|
||||
public static class TypeRefComponent extends Element implements IBaseDatatypeElement {
|
||||
/**
|
||||
* Name of Data type or Resource that is a(or the) type used for this element.
|
||||
*/
|
||||
@ -754,10 +763,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -1527133887L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TypeRefComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public TypeRefComponent(CodeType code) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -960,7 +975,8 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
}
|
||||
|
||||
public static class ElementDefinitionConstraintComponent extends Element {
|
||||
@Block()
|
||||
public static class ElementDefinitionConstraintComponent extends Element implements IBaseDatatypeElement {
|
||||
/**
|
||||
* Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.
|
||||
*/
|
||||
@ -998,10 +1014,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -1195616532L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionConstraintComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionConstraintComponent(IdType key, Enumeration<ConstraintSeverity> severity, StringType human, StringType xpath) {
|
||||
super();
|
||||
this.key = key;
|
||||
@ -1289,7 +1311,8 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
}
|
||||
|
||||
public static class ElementDefinitionBindingComponent extends Element {
|
||||
@Block()
|
||||
public static class ElementDefinitionBindingComponent extends Element implements IBaseDatatypeElement {
|
||||
/**
|
||||
* A descriptive name for this - can be useful for generating implementation artifacts.
|
||||
*/
|
||||
@ -1320,10 +1343,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 325485202L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionBindingComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionBindingComponent(StringType name, Enumeration<BindingStrength> strength) {
|
||||
super();
|
||||
this.name = name;
|
||||
@ -1554,7 +1583,8 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
}
|
||||
|
||||
public static class ElementDefinitionMappingComponent extends Element {
|
||||
@Block()
|
||||
public static class ElementDefinitionMappingComponent extends Element implements IBaseDatatypeElement {
|
||||
/**
|
||||
* An internal reference to the definition of a mapping.
|
||||
*/
|
||||
@ -1578,10 +1608,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -669205371L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionMappingComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinitionMappingComponent(IdType identity, StringType map) {
|
||||
super();
|
||||
this.identity = identity;
|
||||
@ -1970,10 +2006,16 @@ public class ElementDefinition extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = 1149674414L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinition() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ElementDefinition(StringType path) {
|
||||
super();
|
||||
this.path = path;
|
||||
|
@ -29,15 +29,15 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides the insurance eligibility details from the insurer regarding a specified coverage and optionally some class of service.
|
||||
@ -111,6 +111,9 @@ public class EligibilityRequest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1836339504L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EligibilityRequest() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides eligibility and plan details from the processing of an Eligibility resource.
|
||||
@ -210,6 +210,9 @@ public class EligibilityResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 241710852L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EligibilityResponse() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
|
||||
@ -431,7 +431,7 @@ public class Encounter extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EncounterStatusHistoryComponent extends BackboneElement {
|
||||
public static class EncounterStatusHistoryComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* planned | arrived | in-progress | onleave | finished | cancelled.
|
||||
*/
|
||||
@ -448,10 +448,16 @@ public class Encounter extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 919229161L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterStatusHistoryComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterStatusHistoryComponent(Enumeration<EncounterState> status, Period period) {
|
||||
super();
|
||||
this.status = status;
|
||||
@ -569,7 +575,7 @@ public class Encounter extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EncounterParticipantComponent extends BackboneElement {
|
||||
public static class EncounterParticipantComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Role of participant in encounter.
|
||||
*/
|
||||
@ -598,6 +604,9 @@ public class Encounter extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 317095765L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterParticipantComponent() {
|
||||
super();
|
||||
}
|
||||
@ -754,7 +763,7 @@ public class Encounter extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EncounterHospitalizationComponent extends BackboneElement {
|
||||
public static class EncounterHospitalizationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Pre-admission identifier.
|
||||
*/
|
||||
@ -842,6 +851,9 @@ public class Encounter extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -990619663L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterHospitalizationComponent() {
|
||||
super();
|
||||
}
|
||||
@ -1269,7 +1281,7 @@ public class Encounter extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EncounterLocationComponent extends BackboneElement {
|
||||
public static class EncounterLocationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The location where the encounter takes place.
|
||||
*/
|
||||
@ -1298,10 +1310,16 @@ public class Encounter extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -322984880L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterLocationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EncounterLocationComponent(Reference location) {
|
||||
super();
|
||||
this.location = location;
|
||||
@ -1640,10 +1658,16 @@ The indication will typically be a Condition (with other resources referenced in
|
||||
|
||||
private static final long serialVersionUID = 413573588L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Encounter() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Encounter(Enumeration<EncounterState> status) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,15 +29,15 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides the insurance Enrollment details to the insurer regarding a specified coverage.
|
||||
@ -142,10 +142,16 @@ public class EnrollmentRequest extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1656505325L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EnrollmentRequest() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EnrollmentRequest(Reference subject, Reference coverage, Coding relationship) {
|
||||
super();
|
||||
this.subject = subject;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides Enrollment and plan details from the processing of an Enrollment resource.
|
||||
@ -210,6 +210,9 @@ public class EnrollmentResponse extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -318929031L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EnrollmentResponse() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.
|
||||
@ -175,7 +175,7 @@ public class EpisodeOfCare extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EpisodeOfCareStatusHistoryComponent extends BackboneElement {
|
||||
public static class EpisodeOfCareStatusHistoryComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* planned | waitlist | active | onhold | finished | cancelled.
|
||||
*/
|
||||
@ -192,10 +192,16 @@ public class EpisodeOfCare extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1192432864L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EpisodeOfCareStatusHistoryComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EpisodeOfCareStatusHistoryComponent(Enumeration<EpisodeOfCareStatus> status, Period period) {
|
||||
super();
|
||||
this.status = status;
|
||||
@ -313,7 +319,7 @@ public class EpisodeOfCare extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class EpisodeOfCareCareTeamComponent extends BackboneElement {
|
||||
public static class EpisodeOfCareCareTeamComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The practitioner (or Organization) within the team.
|
||||
*/
|
||||
@ -342,6 +348,9 @@ public class EpisodeOfCare extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -2134086895L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EpisodeOfCareCareTeamComponent() {
|
||||
super();
|
||||
}
|
||||
@ -601,10 +610,16 @@ public class EpisodeOfCare extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1251791864L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EpisodeOfCare() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public EpisodeOfCare(Enumeration<EpisodeOfCareStatus> status, Reference patient) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.
|
||||
@ -210,6 +210,9 @@ public class ExplanationOfBenefit extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 2098041034L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ExplanationOfBenefit() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Optional Extensions Element - found in all resources.
|
||||
@ -60,10 +61,16 @@ public class Extension extends BaseExtension implements IBaseExtension<Extension
|
||||
|
||||
private static final long serialVersionUID = 86382982L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Extension() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Extension(UriType url) {
|
||||
super();
|
||||
this.url = url;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.
|
||||
@ -147,7 +147,7 @@ public class FamilyMemberHistory extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class FamilyMemberHistoryConditionComponent extends BackboneElement {
|
||||
public static class FamilyMemberHistoryConditionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.
|
||||
*/
|
||||
@ -178,10 +178,16 @@ public class FamilyMemberHistory extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1664709272L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FamilyMemberHistoryConditionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FamilyMemberHistoryConditionComponent(CodeableConcept type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -460,10 +466,16 @@ public class FamilyMemberHistory extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1785160836L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FamilyMemberHistory() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FamilyMemberHistory(Reference patient, CodeableConcept relationship) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Prospective warnings of potential issues when providing care to the patient.
|
||||
@ -193,10 +193,16 @@ public class Flag extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1117780761L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Flag() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Flag(Enumeration<FlagStatus> status, Reference patient, CodeableConcept code) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc.
|
||||
@ -203,7 +203,7 @@ public class Goal extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class GoalOutcomeComponent extends BackboneElement {
|
||||
public static class GoalOutcomeComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Details of what's changed (or not changed).
|
||||
*/
|
||||
@ -213,6 +213,9 @@ public class Goal extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1994317639L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public GoalOutcomeComponent() {
|
||||
super();
|
||||
}
|
||||
@ -386,10 +389,16 @@ public class Goal extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -314822558L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Goal() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Goal(StringType description, Enumeration<GoalStatus> status) {
|
||||
super();
|
||||
this.description = description;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively and are not formally or legally recognized. I.e. A collection of entities that isn't an Organization.
|
||||
@ -175,7 +175,7 @@ public class Group extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class GroupCharacteristicComponent extends BackboneElement {
|
||||
public static class GroupCharacteristicComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code that identifies the kind of trait being asserted.
|
||||
*/
|
||||
@ -199,10 +199,16 @@ public class Group extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 803478031L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public GroupCharacteristicComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public GroupCharacteristicComponent(CodeableConcept code, Type value, BooleanType exclude) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -441,10 +447,16 @@ public class Group extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1024529199L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Group() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Group(Enumeration<GroupType> type, BooleanType actual) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* The details of a Healthcare Service available at a location.
|
||||
@ -189,7 +189,7 @@ public class HealthcareService extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ServiceTypeComponent extends BackboneElement {
|
||||
public static class ServiceTypeComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The specific type of service being delivered or performed.
|
||||
*/
|
||||
@ -206,10 +206,16 @@ public class HealthcareService extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1703986174L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ServiceTypeComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ServiceTypeComponent(CodeableConcept type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -325,7 +331,7 @@ public class HealthcareService extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class HealthcareServiceAvailableTimeComponent extends BackboneElement {
|
||||
public static class HealthcareServiceAvailableTimeComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Indicates which Days of the week are available between the Start and End Times.
|
||||
*/
|
||||
@ -356,6 +362,9 @@ public class HealthcareService extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -2139510127L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HealthcareServiceAvailableTimeComponent() {
|
||||
super();
|
||||
}
|
||||
@ -610,7 +619,7 @@ public class HealthcareService extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class HealthcareServiceNotAvailableComponent extends BackboneElement {
|
||||
public static class HealthcareServiceNotAvailableComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The reason that can be presented to the user as to why this time is not available.
|
||||
*/
|
||||
@ -627,10 +636,16 @@ public class HealthcareService extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 310849929L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HealthcareServiceNotAvailableComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HealthcareServiceNotAvailableComponent(StringType description) {
|
||||
super();
|
||||
this.description = description;
|
||||
@ -917,10 +932,16 @@ public class HealthcareService extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 543354370L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HealthcareService() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HealthcareService(Reference location) {
|
||||
super();
|
||||
this.location = location;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A human's name with the ability to identify parts and usage.
|
||||
@ -237,6 +238,9 @@ public class HumanName extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -210174642L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public HumanName() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,6 +37,7 @@ import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A technical identifier - identifies some entity uniquely and unambiguously.
|
||||
@ -193,6 +194,9 @@ public class Identifier extends Type implements ICompositeType {
|
||||
|
||||
private static final long serialVersionUID = -478840981L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Identifier() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A set of DICOM SOP Instances of a patient, selected for some application purpose, e.g., quality assurance, teaching, conference, consulting, etc. Objects selected can be from different studies, but must be of the same patient.
|
||||
@ -47,7 +47,7 @@ import org.hl7.fhir.instance.model.api.*;
|
||||
public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class StudyComponent extends BackboneElement {
|
||||
public static class StudyComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Study instance uid of the SOP instances in the selection.
|
||||
*/
|
||||
@ -71,10 +71,16 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1632673574L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public StudyComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public StudyComponent(OidType uid) {
|
||||
super();
|
||||
this.uid = uid;
|
||||
@ -263,7 +269,7 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class SeriesComponent extends BackboneElement {
|
||||
public static class SeriesComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Series instance uid of the SOP instances in the selection.
|
||||
*/
|
||||
@ -287,6 +293,9 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 229247770L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public SeriesComponent() {
|
||||
super();
|
||||
}
|
||||
@ -478,7 +487,7 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class InstanceComponent extends BackboneElement {
|
||||
public static class InstanceComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* SOP class uid of the selected instance.
|
||||
*/
|
||||
@ -509,10 +518,16 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1641180916L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public InstanceComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public InstanceComponent(OidType sopClass, OidType uid, UriType url) {
|
||||
super();
|
||||
this.sopClass = sopClass;
|
||||
@ -747,7 +762,7 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class FramesComponent extends BackboneElement {
|
||||
public static class FramesComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The frame numbers in the frame set.
|
||||
*/
|
||||
@ -764,10 +779,16 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -2068206970L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FramesComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public FramesComponent(UriType url) {
|
||||
super();
|
||||
this.url = url;
|
||||
@ -978,10 +999,16 @@ public class ImagingObjectSelection extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1961832713L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingObjectSelection() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingObjectSelection(OidType uid, Reference patient, CodeableConcept title) {
|
||||
super();
|
||||
this.uid = uid;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Representation of the content produced in a DICOM imaging study. A study comprises a set of Series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A Series is of only one modality (e.g., X-ray, CT, MR, ultrasound), but a Study may have multiple Series of different modalities.
|
||||
@ -1481,7 +1481,7 @@ public class ImagingStudy extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImagingStudySeriesComponent extends BackboneElement {
|
||||
public static class ImagingStudySeriesComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The Numeric identifier of this series in the study.
|
||||
*/
|
||||
@ -1561,10 +1561,16 @@ public class ImagingStudy extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1186612269L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudySeriesComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudySeriesComponent(Enumeration<Modality> modality, OidType uid, UnsignedIntType numberOfInstances) {
|
||||
super();
|
||||
this.modality = modality;
|
||||
@ -2110,7 +2116,7 @@ public class ImagingStudy extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImagingStudySeriesInstanceComponent extends BackboneElement {
|
||||
public static class ImagingStudySeriesInstanceComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The number of this image in the series.
|
||||
*/
|
||||
@ -2155,10 +2161,16 @@ public class ImagingStudy extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 264997991L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudySeriesInstanceComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudySeriesInstanceComponent(OidType uid, OidType sopclass) {
|
||||
super();
|
||||
this.uid = uid;
|
||||
@ -2636,10 +2648,16 @@ public class ImagingStudy extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 206272292L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudy() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImagingStudy(Reference patient, OidType uid, UnsignedIntType numberOfSeries, UnsignedIntType numberOfInstances) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Immunization event information.
|
||||
@ -47,7 +47,7 @@ import org.hl7.fhir.instance.model.api.*;
|
||||
public class Immunization extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationExplanationComponent extends BackboneElement {
|
||||
public static class ImmunizationExplanationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Reasons why a vaccine was administered.
|
||||
*/
|
||||
@ -64,6 +64,9 @@ public class Immunization extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -539821866L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationExplanationComponent() {
|
||||
super();
|
||||
}
|
||||
@ -199,7 +202,7 @@ public class Immunization extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationReactionComponent extends BackboneElement {
|
||||
public static class ImmunizationReactionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Date of reaction to the immunization.
|
||||
*/
|
||||
@ -228,6 +231,9 @@ public class Immunization extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1297668556L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationReactionComponent() {
|
||||
super();
|
||||
}
|
||||
@ -415,7 +421,7 @@ public class Immunization extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationVaccinationProtocolComponent extends BackboneElement {
|
||||
public static class ImmunizationVaccinationProtocolComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Nominal position in a series.
|
||||
*/
|
||||
@ -479,10 +485,16 @@ public class Immunization extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -783437472L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationVaccinationProtocolComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationVaccinationProtocolComponent(PositiveIntType doseSequence, CodeableConcept doseTarget, CodeableConcept doseStatus) {
|
||||
super();
|
||||
this.doseSequence = doseSequence;
|
||||
@ -1018,10 +1030,16 @@ public class Immunization extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1610924217L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Immunization() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Immunization(DateTimeType date, CodeableConcept vaccineType, Reference patient, BooleanType wasNotGiven, BooleanType reported) {
|
||||
super();
|
||||
this.date = date;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A patient's point-of-time immunization status and recommendation with optional supporting justification.
|
||||
@ -47,7 +47,7 @@ import org.hl7.fhir.instance.model.api.*;
|
||||
public class ImmunizationRecommendation extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationRecommendationRecommendationComponent extends BackboneElement {
|
||||
public static class ImmunizationRecommendationRecommendationComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The date the immunization recommendation was created.
|
||||
*/
|
||||
@ -116,10 +116,16 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 366360557L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendationRecommendationComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendationRecommendationComponent(DateTimeType date, CodeableConcept vaccineType, CodeableConcept forecastStatus) {
|
||||
super();
|
||||
this.date = date;
|
||||
@ -511,7 +517,7 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationRecommendationRecommendationDateCriterionComponent extends BackboneElement {
|
||||
public static class ImmunizationRecommendationRecommendationDateCriterionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Date classification of recommendation - e.g. earliest date to give, latest date to give, etc.
|
||||
*/
|
||||
@ -528,10 +534,16 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1036994566L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendationRecommendationDateCriterionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendationRecommendationDateCriterionComponent(CodeableConcept code, DateTimeType value) {
|
||||
super();
|
||||
this.code = code;
|
||||
@ -649,7 +661,7 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ImmunizationRecommendationRecommendationProtocolComponent extends BackboneElement {
|
||||
public static class ImmunizationRecommendationRecommendationProtocolComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
|
||||
*/
|
||||
@ -685,6 +697,9 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -512702014L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendationRecommendationProtocolComponent() {
|
||||
super();
|
||||
}
|
||||
@ -951,10 +966,16 @@ public class ImmunizationRecommendation extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 641058495L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendation() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ImmunizationRecommendation(Reference patient) {
|
||||
super();
|
||||
this.patient = patient;
|
||||
|
@ -29,21 +29,21 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A set of information summarized from a list of other resources.
|
||||
*/
|
||||
@ResourceDef(name="List_", profile="http://hl7.org/fhir/Profile/List_")
|
||||
@ResourceDef(name="List", profile="http://hl7.org/fhir/Profile/List_")
|
||||
public class List_ extends DomainResource {
|
||||
|
||||
public enum ListStatus {
|
||||
@ -219,7 +219,7 @@ public class List_ extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class ListEntryComponent extends BackboneElement {
|
||||
public static class ListEntryComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The flag allows the system constructing the list to make one or more statements about the role and significance of the item in the list.
|
||||
*/
|
||||
@ -255,10 +255,16 @@ public class List_ extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -27973283L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ListEntryComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public ListEntryComponent(Reference item) {
|
||||
super();
|
||||
this.item = item;
|
||||
@ -583,10 +589,16 @@ public class List_ extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -558571391L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public List_() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public List_(Enumeration<ListStatus> status, Enumeration<ListMode> mode) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@ -37,9 +37,9 @@ import java.math.*;
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated.
|
||||
@ -206,7 +206,7 @@ public class Location extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class LocationPositionComponent extends BackboneElement {
|
||||
public static class LocationPositionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).
|
||||
*/
|
||||
@ -230,10 +230,16 @@ public class Location extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -74276134L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public LocationPositionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public LocationPositionComponent(DecimalType longitude, DecimalType latitude) {
|
||||
super();
|
||||
this.longitude = longitude;
|
||||
@ -520,6 +526,9 @@ public class Location extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -520735603L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Location() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.
|
||||
@ -228,10 +228,16 @@ public class Media extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -280764739L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Media() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Media(Enumeration<DigitalMediaType> type, Attachment content) {
|
||||
super();
|
||||
this.type = type;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Primarily used for identification and definition of Medication, but also covers ingredients and packaging.
|
||||
@ -119,7 +119,7 @@ public class Medication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationProductComponent extends BackboneElement {
|
||||
public static class MedicationProductComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Describes the form of the item. Powder; tables; carton.
|
||||
*/
|
||||
@ -143,6 +143,9 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1132853671L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationProductComponent() {
|
||||
super();
|
||||
}
|
||||
@ -304,7 +307,7 @@ public class Medication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationProductIngredientComponent extends BackboneElement {
|
||||
public static class MedicationProductIngredientComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The actual ingredient - either a substance (simple ingredient) or another medication.
|
||||
*/
|
||||
@ -326,10 +329,16 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1217232889L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationProductIngredientComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationProductIngredientComponent(Reference item) {
|
||||
super();
|
||||
this.item = item;
|
||||
@ -440,7 +449,7 @@ public class Medication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationProductBatchComponent extends BackboneElement {
|
||||
public static class MedicationProductBatchComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The assigned lot number of a batch of the specified product.
|
||||
*/
|
||||
@ -457,6 +466,9 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1982738755L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationProductBatchComponent() {
|
||||
super();
|
||||
}
|
||||
@ -603,7 +615,7 @@ public class Medication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationPackageComponent extends BackboneElement {
|
||||
public static class MedicationPackageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* The kind of container that this package comes as.
|
||||
*/
|
||||
@ -620,6 +632,9 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 503772472L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPackageComponent() {
|
||||
super();
|
||||
}
|
||||
@ -734,7 +749,7 @@ public class Medication extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationPackageContentComponent extends BackboneElement {
|
||||
public static class MedicationPackageContentComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Identifies one of the items in the package.
|
||||
*/
|
||||
@ -756,10 +771,16 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1385430192L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPackageContentComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPackageContentComponent(Reference item) {
|
||||
super();
|
||||
this.item = item;
|
||||
@ -930,6 +951,9 @@ public class Medication extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 385691577L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public Medication() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Describes the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet or it may be a long running infusion.
Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner.
|
||||
@ -161,7 +161,7 @@ public class MedicationAdministration extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationAdministrationDosageComponent extends BackboneElement {
|
||||
public static class MedicationAdministrationDosageComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
|
||||
*/
|
||||
@ -206,6 +206,9 @@ public class MedicationAdministration extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -358534919L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationAdministrationDosageComponent() {
|
||||
super();
|
||||
}
|
||||
@ -561,10 +564,16 @@ public class MedicationAdministration extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1898346148L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationAdministration() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationAdministration(Enumeration<MedicationAdminStatus> status, Reference patient, Type effectiveTime) {
|
||||
super();
|
||||
this.status = status;
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication.
|
||||
@ -161,7 +161,7 @@ public class MedicationDispense extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationDispenseDosageInstructionComponent extends BackboneElement {
|
||||
public static class MedicationDispenseDosageInstructionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Additional instructions such as "Swallow with plenty of water" which may or may not be coded.
|
||||
*/
|
||||
@ -227,6 +227,9 @@ public class MedicationDispense extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1523433515L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationDispenseDosageInstructionComponent() {
|
||||
super();
|
||||
}
|
||||
@ -557,7 +560,7 @@ public class MedicationDispense extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationDispenseSubstitutionComponent extends BackboneElement {
|
||||
public static class MedicationDispenseSubstitutionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code signifying whether a different drug was dispensed from what was prescribed.
|
||||
*/
|
||||
@ -586,10 +589,16 @@ public class MedicationDispense extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1218245830L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationDispenseSubstitutionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationDispenseSubstitutionComponent(CodeableConcept type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -916,6 +925,9 @@ public class MedicationDispense extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -217601399L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationDispense() {
|
||||
super();
|
||||
}
|
||||
|
@ -29,16 +29,16 @@ package org.hl7.fhir.instance.model;
|
||||
|
||||
*/
|
||||
|
||||
// Generated on Tue, May 5, 2015 10:00-0400 for FHIR v0.5.0
|
||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import org.hl7.fhir.utilities.Utilities;
|
||||
import org.hl7.fhir.instance.model.annotations.ResourceDef;
|
||||
import org.hl7.fhir.instance.model.annotations.SearchParamDefinition;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.annotations.Child;
|
||||
import org.hl7.fhir.instance.model.annotations.Description;
|
||||
import org.hl7.fhir.instance.model.annotations.Block;
|
||||
import org.hl7.fhir.instance.model.api.*;
|
||||
/**
|
||||
* An order for both supply of the medication and the instructions for administration of the medicine to a patient.
|
||||
@ -189,7 +189,7 @@ public class MedicationPrescription extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationPrescriptionDosageInstructionComponent extends BackboneElement {
|
||||
public static class MedicationPrescriptionDosageInstructionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
|
||||
*/
|
||||
@ -262,6 +262,9 @@ public class MedicationPrescription extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -1144367815L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPrescriptionDosageInstructionComponent() {
|
||||
super();
|
||||
}
|
||||
@ -643,7 +646,7 @@ public class MedicationPrescription extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationPrescriptionDispenseComponent extends BackboneElement {
|
||||
public static class MedicationPrescriptionDispenseComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
|
||||
*/
|
||||
@ -686,6 +689,9 @@ public class MedicationPrescription extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = -44233312L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPrescriptionDispenseComponent() {
|
||||
super();
|
||||
}
|
||||
@ -902,7 +908,7 @@ public class MedicationPrescription extends DomainResource {
|
||||
}
|
||||
|
||||
@Block()
|
||||
public static class MedicationPrescriptionSubstitutionComponent extends BackboneElement {
|
||||
public static class MedicationPrescriptionSubstitutionComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code signifying whether a different drug should be dispensed from what was prescribed.
|
||||
*/
|
||||
@ -919,10 +925,16 @@ public class MedicationPrescription extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 1693602518L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPrescriptionSubstitutionComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPrescriptionSubstitutionComponent(CodeableConcept type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@ -1123,6 +1135,9 @@ public class MedicationPrescription extends DomainResource {
|
||||
|
||||
private static final long serialVersionUID = 277504612L;
|
||||
|
||||
/*
|
||||
* Constructor
|
||||
*/
|
||||
public MedicationPrescription() {
|
||||
super();
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user