Update RI structures
This commit is contained in:
parent
b89ee3d2a7
commit
ec3c94a823
|
@ -52,7 +52,7 @@ import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.ICompositeType;
|
import org.hl7.fhir.instance.model.api.ICompositeType;
|
||||||
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
|
import org.hl7.fhir.instance.model.api.IBaseBackboneElement;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
|
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
|
||||||
|
@ -510,7 +510,7 @@ class ModelScanner {
|
||||||
RuntimeChildContainedResources def = new RuntimeChildContainedResources(next, childAnnotation, descriptionAnnotation, elementName);
|
RuntimeChildContainedResources def = new RuntimeChildContainedResources(next, childAnnotation, descriptionAnnotation, elementName);
|
||||||
orderMap.put(order, def);
|
orderMap.put(order, def);
|
||||||
|
|
||||||
} else if (IRefImplResource.class.isAssignableFrom(nextElementType) || IResource.class.equals(nextElementType)) {
|
} else if (IAnyResource.class.isAssignableFrom(nextElementType) || IResource.class.equals(nextElementType)) {
|
||||||
/*
|
/*
|
||||||
* Child is a resource as a direct child, as in Bundle.entry.resource
|
* Child is a resource as a direct child, as in Bundle.entry.resource
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -29,7 +29,7 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBase;
|
import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
|
|
||||||
import ca.uhn.fhir.model.api.IResource;
|
import ca.uhn.fhir.model.api.IResource;
|
||||||
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
import ca.uhn.fhir.model.api.annotation.ResourceDef;
|
||||||
|
@ -58,7 +58,7 @@ public class RuntimeResourceDefinition extends BaseRuntimeElementCompositeDefini
|
||||||
|
|
||||||
try {
|
try {
|
||||||
IBaseResource instance = theClass.newInstance();
|
IBaseResource instance = theClass.newInstance();
|
||||||
if (instance instanceof IRefImplResource) {
|
if (instance instanceof IAnyResource) {
|
||||||
myStructureVersion = FhirVersionEnum.DSTU2_HL7ORG;
|
myStructureVersion = FhirVersionEnum.DSTU2_HL7ORG;
|
||||||
} else {
|
} else {
|
||||||
myStructureVersion = ((IResource)instance).getStructureFhirVersionEnum();
|
myStructureVersion = ((IResource)instance).getStructureFhirVersionEnum();
|
||||||
|
|
|
@ -26,7 +26,7 @@ import java.util.Map;
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBase;
|
import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
|
|
||||||
import ca.uhn.fhir.model.api.IResource;
|
import ca.uhn.fhir.model.api.IResource;
|
||||||
import ca.uhn.fhir.model.base.composite.BaseResourceReferenceDt;
|
import ca.uhn.fhir.model.base.composite.BaseResourceReferenceDt;
|
||||||
|
@ -56,7 +56,7 @@ public class RuntimeResourceReferenceDefinition extends BaseRuntimeElementDefini
|
||||||
void sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) {
|
void sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) {
|
||||||
myResourceTypeToDefinition = new HashMap<Class<? extends IBaseResource>, RuntimeResourceDefinition>();
|
myResourceTypeToDefinition = new HashMap<Class<? extends IBaseResource>, RuntimeResourceDefinition>();
|
||||||
for (Class<? extends IBaseResource> next : myResourceTypes) {
|
for (Class<? extends IBaseResource> next : myResourceTypes) {
|
||||||
if (next.equals(IResource.class) || next.equals(IRefImplResource.class) || next.equals(IBaseResource.class)) {
|
if (next.equals(IResource.class) || next.equals(IAnyResource.class) || next.equals(IBaseResource.class)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
RuntimeResourceDefinition definition = (RuntimeResourceDefinition) theClassToElementDefinitions.get(next);
|
RuntimeResourceDefinition definition = (RuntimeResourceDefinition) theClassToElementDefinitions.get(next);
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.commons.lang3.Validate;
|
import org.apache.commons.lang3.Validate;
|
||||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
|
|
||||||
import ca.uhn.fhir.model.api.IPrimitiveDatatype;
|
import ca.uhn.fhir.model.api.IPrimitiveDatatype;
|
||||||
|
@ -546,8 +546,8 @@ public class IdDt extends UriDt implements IPrimitiveDatatype<String>, IIdType {
|
||||||
throw new NullPointerException("theResource can not be null");
|
throw new NullPointerException("theResource can not be null");
|
||||||
} else if (theResouce instanceof IResource) {
|
} else if (theResouce instanceof IResource) {
|
||||||
((IResource) theResouce).setId(new IdDt(getValue()));
|
((IResource) theResouce).setId(new IdDt(getValue()));
|
||||||
} else if (theResouce instanceof IRefImplResource) {
|
} else if (theResouce instanceof IAnyResource) {
|
||||||
((IRefImplResource) theResouce).setId(getValue());
|
((IAnyResource) theResouce).setId(getValue());
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("Unknown resource class type, does not implement IResource or extend Resource");
|
throw new IllegalArgumentException("Unknown resource class type, does not implement IResource or extend Resource");
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.hl7.fhir.instance.model.api.IBase;
|
import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IDomainResource;
|
import org.hl7.fhir.instance.model.api.IDomainResource;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseReference;
|
import org.hl7.fhir.instance.model.api.IBaseReference;
|
||||||
|
@ -95,8 +95,8 @@ public abstract class BaseParser implements IParser {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (theTarget instanceof IDomainResource) {
|
} else if (theTarget instanceof IDomainResource) {
|
||||||
List<? extends IRefImplResource> containedResources = ((IDomainResource) theTarget).getContained();
|
List<? extends IAnyResource> containedResources = ((IDomainResource) theTarget).getContained();
|
||||||
for (IRefImplResource next : containedResources) {
|
for (IAnyResource next : containedResources) {
|
||||||
String nextId = next.getIdElement().getValue();
|
String nextId = next.getIdElement().getValue();
|
||||||
if (StringUtils.isNotBlank(nextId)) {
|
if (StringUtils.isNotBlank(nextId)) {
|
||||||
if (!nextId.startsWith("#")) {
|
if (!nextId.startsWith("#")) {
|
||||||
|
|
|
@ -54,7 +54,7 @@ import org.apache.commons.lang3.Validate;
|
||||||
import org.hl7.fhir.instance.model.api.IBase;
|
import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBooleanDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseBooleanDatatype;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
||||||
|
@ -676,8 +676,8 @@ public class JsonParser extends BaseParser implements IParser {
|
||||||
resourceId = res.getId().getIdPart();
|
resourceId = res.getId().getIdPart();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (theResource instanceof IRefImplResource) {
|
} else if (theResource instanceof IAnyResource) {
|
||||||
IRefImplResource res = (IRefImplResource) theResource;
|
IAnyResource res = (IAnyResource) theResource;
|
||||||
if (/*theContainedResource && */ StringUtils.isNotBlank(res.getIdElement().getIdPart())) {
|
if (/*theContainedResource && */ StringUtils.isNotBlank(res.getIdElement().getIdPart())) {
|
||||||
resourceId = res.getIdElement().getIdPart();
|
resourceId = res.getIdElement().getIdPart();
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.hl7.fhir.instance.model.api.IBase;
|
import org.hl7.fhir.instance.model.api.IBase;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
import org.hl7.fhir.instance.model.api.IPrimitiveType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
||||||
|
@ -751,7 +751,7 @@ public class XmlParser extends BaseParser implements IParser {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// HL7 structs
|
// HL7 structs
|
||||||
IRefImplResource resource = (IRefImplResource) theResource;
|
IAnyResource resource = (IAnyResource) theResource;
|
||||||
if (StringUtils.isNotBlank(resource.getIdElement().getIdPart())) {
|
if (StringUtils.isNotBlank(resource.getIdElement().getIdPart())) {
|
||||||
resourceId = resource.getIdElement().getIdPart();
|
resourceId = resource.getIdElement().getIdPart();
|
||||||
}
|
}
|
||||||
|
@ -777,7 +777,7 @@ public class XmlParser extends BaseParser implements IParser {
|
||||||
theEventWriter.writeStartElement(resDef.getName());
|
theEventWriter.writeStartElement(resDef.getName());
|
||||||
theEventWriter.writeDefaultNamespace(FHIR_NS);
|
theEventWriter.writeDefaultNamespace(FHIR_NS);
|
||||||
|
|
||||||
if (theResource instanceof IRefImplResource) {
|
if (theResource instanceof IAnyResource) {
|
||||||
|
|
||||||
// HL7.org Structures
|
// HL7.org Structures
|
||||||
writeOptionalTagWithValue(theEventWriter, "id", theResourceId);
|
writeOptionalTagWithValue(theEventWriter, "id", theResourceId);
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.apache.http.client.utils.DateUtils;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseMetaType;
|
import org.hl7.fhir.instance.model.api.IBaseMetaType;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
|
|
||||||
import ca.uhn.fhir.context.ConfigurationException;
|
import ca.uhn.fhir.context.ConfigurationException;
|
||||||
import ca.uhn.fhir.context.FhirContext;
|
import ca.uhn.fhir.context.FhirContext;
|
||||||
|
@ -460,8 +460,8 @@ public class MethodUtil {
|
||||||
if (resource instanceof IResource) {
|
if (resource instanceof IResource) {
|
||||||
InstantDt lmValue = new InstantDt(headerDateValue);
|
InstantDt lmValue = new InstantDt(headerDateValue);
|
||||||
((IResource) resource).getResourceMetadata().put(ResourceMetadataKeyEnum.UPDATED, lmValue);
|
((IResource) resource).getResourceMetadata().put(ResourceMetadataKeyEnum.UPDATED, lmValue);
|
||||||
} else if (resource instanceof IRefImplResource) {
|
} else if (resource instanceof IAnyResource) {
|
||||||
((IRefImplResource) resource).getMeta().setLastUpdated(headerDateValue);
|
((IAnyResource) resource).getMeta().setLastUpdated(headerDateValue);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
ourLog.warn("Unable to parse date string '{}'. Error is: {}", headerValue, e.toString());
|
ourLog.warn("Unable to parse date string '{}'. Error is: {}", headerValue, e.toString());
|
||||||
|
@ -505,8 +505,8 @@ public class MethodUtil {
|
||||||
}
|
}
|
||||||
if (resource instanceof IResource) {
|
if (resource instanceof IResource) {
|
||||||
ResourceMetadataKeyEnum.TAG_LIST.put((IResource) resource, tagList);
|
ResourceMetadataKeyEnum.TAG_LIST.put((IResource) resource, tagList);
|
||||||
} else if (resource instanceof IRefImplResource) {
|
} else if (resource instanceof IAnyResource) {
|
||||||
IBaseMetaType meta = ((IRefImplResource) resource).getMeta();
|
IBaseMetaType meta = ((IAnyResource) resource).getMeta();
|
||||||
for (Tag next : tagList) {
|
for (Tag next : tagList) {
|
||||||
meta.addTag().setSystem(next.getScheme()).setCode(next.getTerm()).setDisplay(next.getLabel());
|
meta.addTag().setSystem(next.getScheme()).setCode(next.getTerm()).setDisplay(next.getLabel());
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.http.client.utils.DateUtils;
|
import org.apache.http.client.utils.DateUtils;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ public class RestfulServerUtils {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Date lastUpdated = ((IRefImplResource)theResource).getMeta().getLastUpdated();
|
Date lastUpdated = ((IAnyResource)theResource).getMeta().getLastUpdated();
|
||||||
if (lastUpdated != null) {
|
if (lastUpdated != null) {
|
||||||
theHttpResponse.addHeader(Constants.HEADER_LAST_MODIFIED, DateUtils.formatDate(lastUpdated));
|
theHttpResponse.addHeader(Constants.HEADER_LAST_MODIFIED, DateUtils.formatDate(lastUpdated));
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,11 +21,11 @@ package org.hl7.fhir.instance.model.api;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
public interface IRefImplResource extends IBaseResource {
|
public interface IAnyResource extends IBaseResource {
|
||||||
|
|
||||||
String getId();
|
String getId();
|
||||||
|
|
||||||
IRefImplResource setId(String theId);
|
IAnyResource setId(String theId);
|
||||||
|
|
||||||
IIdType getIdElement();
|
IIdType getIdElement();
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
package org.hl7.fhir.instance.model.api;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* HAPI FHIR - Core Library
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2014 - 2015 University Health Network
|
||||||
|
* %%
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
public interface IBackboneElement extends IBase {
|
||||||
|
|
||||||
|
}
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model.api;
|
package org.hl7.fhir.instance.model.api;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR - Core Library
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
public interface IBaseConformance extends IBaseResource {
|
public interface IBaseConformance extends IBaseResource {
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model.api;
|
package org.hl7.fhir.instance.model.api;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR - Core Library
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
public interface IBaseXhtml extends IPrimitiveType<String> {
|
public interface IBaseXhtml extends IPrimitiveType<String> {
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@ package org.hl7.fhir.instance.model.api;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface IDomainResource extends IRefImplResource {
|
public interface IDomainResource extends IAnyResource {
|
||||||
|
|
||||||
List<? extends IRefImplResource> getContained();
|
List<? extends IAnyResource> getContained();
|
||||||
|
|
||||||
INarrative getText();
|
INarrative getText();
|
||||||
|
|
||||||
|
|
|
@ -29,24 +29,19 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!-- <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon</artifactId>
|
||||||
|
<version>8.7</version> </dependency> -->
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>xpp3</groupId>
|
||||||
|
<artifactId>xpp3_min</artifactId>
|
||||||
|
<version>1.1.4c</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.sf.saxon</groupId>
|
<groupId>net.sf.saxon</groupId>
|
||||||
<artifactId>saxon</artifactId>
|
<artifactId>Saxon-HE</artifactId>
|
||||||
<version>8.7</version>
|
<version>9.6.0-4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
-->
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>xpp3</groupId>
|
|
||||||
<artifactId>xpp3_min</artifactId>
|
|
||||||
<version>1.1.4c</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>net.sf.saxon</groupId>
|
|
||||||
<artifactId>Saxon-HE</artifactId>
|
|
||||||
<version>9.6.0-4</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- Testing -->
|
<!-- Testing -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -192,6 +187,15 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>license-maven-plugin</artifactId>
|
||||||
|
<version>${maven_license_plugin_version}</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- Don't add UHN licenses to RI structures -->
|
||||||
|
<skipUpdateLicense>true</skipUpdateLicense>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ import org.hl7.fhir.instance.model.InstantType;
|
||||||
import org.hl7.fhir.instance.model.OperationOutcome;
|
import org.hl7.fhir.instance.model.OperationOutcome;
|
||||||
import org.hl7.fhir.instance.model.Resource;
|
import org.hl7.fhir.instance.model.Resource;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
import org.hl7.fhir.instance.model.api.IDomainResource;
|
import org.hl7.fhir.instance.model.api.IDomainResource;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseReference;
|
import org.hl7.fhir.instance.model.api.IBaseReference;
|
||||||
|
@ -93,7 +93,7 @@ public class Dstu2Hl7OrgBundleFactory implements IVersionSpecificBundleFactory {
|
||||||
IDomainResource next = (IDomainResource) nextBaseRes;
|
IDomainResource next = (IDomainResource) nextBaseRes;
|
||||||
|
|
||||||
Set<String> containedIds = new HashSet<String>();
|
Set<String> containedIds = new HashSet<String>();
|
||||||
for (IRefImplResource nextContained : next.getContained()) {
|
for (IAnyResource nextContained : next.getContained()) {
|
||||||
if (nextContained.getId().isEmpty() == false) {
|
if (nextContained.getId().isEmpty() == false) {
|
||||||
containedIds.add(nextContained.getIdElement().getValue());
|
containedIds.add(nextContained.getIdElement().getValue());
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.annotations.Block;
|
import org.hl7.fhir.instance.model.annotations.Block;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1875,38 +1854,38 @@ public class AllergyIntolerance extends DomainResource {
|
||||||
return ResourceType.AllergyIntolerance;
|
return ResourceType.AllergyIntolerance;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="status", path="AllergyIntolerance.status", description="unconfirmed | confirmed | resolved | refuted | entered-in-error", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="onset", path="AllergyIntolerance.event.onset", description="Date(/time) when manifestations showed", type="date" )
|
|
||||||
public static final String SP_ONSET = "onset";
|
|
||||||
@SearchParamDefinition(name="last-date", path="AllergyIntolerance.lastOccurence", description="Date(/time) of last known occurence of a reaction", type="date" )
|
|
||||||
public static final String SP_LASTDATE = "last-date";
|
|
||||||
@SearchParamDefinition(name="severity", path="AllergyIntolerance.event.severity", description="mild | moderate | severe (of event as a whole)", type="token" )
|
@SearchParamDefinition(name="severity", path="AllergyIntolerance.event.severity", description="mild | moderate | severe (of event as a whole)", type="token" )
|
||||||
public static final String SP_SEVERITY = "severity";
|
public static final String SP_SEVERITY = "severity";
|
||||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate", description="When recorded", type="date" )
|
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate", description="When recorded", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="type", path="AllergyIntolerance.type", description="immune | non-immune - Underlying mechanism (if known)", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="reporter", path="AllergyIntolerance.reporter", description="Source of the information about the allergy", type="reference" )
|
|
||||||
public static final String SP_REPORTER = "reporter";
|
|
||||||
@SearchParamDefinition(name="substance", path="AllergyIntolerance.substance|AllergyIntolerance.event.substance", description="Substance, (or class) considered to be responsible for risk", type="token" )
|
|
||||||
public static final String SP_SUBSTANCE = "substance";
|
|
||||||
@SearchParamDefinition(name="criticality", path="AllergyIntolerance.criticality", description="low | high | unassessible - Estimated potential clinical harm", type="token" )
|
|
||||||
public static final String SP_CRITICALITY = "criticality";
|
|
||||||
@SearchParamDefinition(name="category", path="AllergyIntolerance.category", description="food | medication | environment - Category of Substance", type="token" )
|
|
||||||
public static final String SP_CATEGORY = "category";
|
|
||||||
@SearchParamDefinition(name="duration", path="AllergyIntolerance.event.duration", description="How long Manifestations persisted", type="quantity" )
|
|
||||||
public static final String SP_DURATION = "duration";
|
|
||||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient", description="Who the sensitivity is for", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="recorder", path="AllergyIntolerance.recorder", description="Who recorded the sensitivity", type="reference" )
|
|
||||||
public static final String SP_RECORDER = "recorder";
|
|
||||||
@SearchParamDefinition(name="route", path="AllergyIntolerance.event.exposureRoute", description="How the subject was exposed to the substance", type="token" )
|
|
||||||
public static final String SP_ROUTE = "route";
|
|
||||||
@SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier", description="External Ids for this item", type="token" )
|
@SearchParamDefinition(name="identifier", path="AllergyIntolerance.identifier", description="External Ids for this item", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="manifestation", path="AllergyIntolerance.event.manifestation", description="Clinical symptoms/signs associated with the Event", type="token" )
|
@SearchParamDefinition(name="manifestation", path="AllergyIntolerance.event.manifestation", description="Clinical symptoms/signs associated with the Event", type="token" )
|
||||||
public static final String SP_MANIFESTATION = "manifestation";
|
public static final String SP_MANIFESTATION = "manifestation";
|
||||||
|
@SearchParamDefinition(name="recorder", path="AllergyIntolerance.recorder", description="Who recorded the sensitivity", type="reference" )
|
||||||
|
public static final String SP_RECORDER = "recorder";
|
||||||
|
@SearchParamDefinition(name="substance", path="AllergyIntolerance.substance|AllergyIntolerance.event.substance", description="Substance, (or class) considered to be responsible for risk", type="token" )
|
||||||
|
public static final String SP_SUBSTANCE = "substance";
|
||||||
|
@SearchParamDefinition(name="criticality", path="AllergyIntolerance.criticality", description="low | high | unassessible - Estimated potential clinical harm", type="token" )
|
||||||
|
public static final String SP_CRITICALITY = "criticality";
|
||||||
|
@SearchParamDefinition(name="reporter", path="AllergyIntolerance.reporter", description="Source of the information about the allergy", type="reference" )
|
||||||
|
public static final String SP_REPORTER = "reporter";
|
||||||
|
@SearchParamDefinition(name="type", path="AllergyIntolerance.type", description="immune | non-immune - Underlying mechanism (if known)", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="onset", path="AllergyIntolerance.event.onset", description="Date(/time) when manifestations showed", type="date" )
|
||||||
|
public static final String SP_ONSET = "onset";
|
||||||
|
@SearchParamDefinition(name="duration", path="AllergyIntolerance.event.duration", description="How long Manifestations persisted", type="quantity" )
|
||||||
|
public static final String SP_DURATION = "duration";
|
||||||
|
@SearchParamDefinition(name="route", path="AllergyIntolerance.event.exposureRoute", description="How the subject was exposed to the substance", type="token" )
|
||||||
|
public static final String SP_ROUTE = "route";
|
||||||
|
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient", description="Who the sensitivity is for", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="category", path="AllergyIntolerance.category", description="food | medication | environment - Category of Substance", type="token" )
|
||||||
|
public static final String SP_CATEGORY = "category";
|
||||||
|
@SearchParamDefinition(name="last-date", path="AllergyIntolerance.lastOccurence", description="Date(/time) of last known occurence of a reaction", type="date" )
|
||||||
|
public static final String SP_LASTDATE = "last-date";
|
||||||
|
@SearchParamDefinition(name="status", path="AllergyIntolerance.status", description="unconfirmed | confirmed | resolved | refuted | entered-in-error", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1369,20 +1348,20 @@ public class Appointment extends DomainResource {
|
||||||
return ResourceType.Appointment;
|
return ResourceType.Appointment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SearchParamDefinition(name="date", path="Appointment.start", description="Appointment date/time.", type="date" )
|
||||||
|
public static final String SP_DATE = "date";
|
||||||
|
@SearchParamDefinition(name="actor", path="Appointment.participant.actor", description="Any one of the individuals participating in the appointment", type="reference" )
|
||||||
|
public static final String SP_ACTOR = "actor";
|
||||||
@SearchParamDefinition(name="partstatus", path="Appointment.participant.status", description="The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.", type="token" )
|
@SearchParamDefinition(name="partstatus", path="Appointment.participant.status", description="The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.", type="token" )
|
||||||
public static final String SP_PARTSTATUS = "partstatus";
|
public static final String SP_PARTSTATUS = "partstatus";
|
||||||
@SearchParamDefinition(name="patient", path="Appointment.participant.actor", description="One of the individuals of the appointment is this patient", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="practitioner", path="Appointment.participant.actor", description="One of the individuals of the appointment is this practitioner", type="reference" )
|
@SearchParamDefinition(name="practitioner", path="Appointment.participant.actor", description="One of the individuals of the appointment is this practitioner", type="reference" )
|
||||||
public static final String SP_PRACTITIONER = "practitioner";
|
public static final String SP_PRACTITIONER = "practitioner";
|
||||||
|
@SearchParamDefinition(name="patient", path="Appointment.participant.actor", description="One of the individuals of the appointment is this patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="location", path="Appointment.participant.actor", description="This location is listed in the participants of the appointment", type="reference" )
|
@SearchParamDefinition(name="location", path="Appointment.participant.actor", description="This location is listed in the participants of the appointment", type="reference" )
|
||||||
public static final String SP_LOCATION = "location";
|
public static final String SP_LOCATION = "location";
|
||||||
@SearchParamDefinition(name="status", path="Appointment.status", description="The overall status of the appointment", type="token" )
|
@SearchParamDefinition(name="status", path="Appointment.status", description="The overall status of the appointment", type="token" )
|
||||||
public static final String SP_STATUS = "status";
|
public static final String SP_STATUS = "status";
|
||||||
@SearchParamDefinition(name="actor", path="Appointment.participant.actor", description="Any one of the individuals participating in the appointment", type="reference" )
|
|
||||||
public static final String SP_ACTOR = "actor";
|
|
||||||
@SearchParamDefinition(name="date", path="Appointment.start", description="Appointment date/time.", type="date" )
|
|
||||||
public static final String SP_DATE = "date";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -708,18 +687,18 @@ public class AppointmentResponse extends DomainResource {
|
||||||
return ResourceType.AppointmentResponse;
|
return ResourceType.AppointmentResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="partstatus", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token" )
|
|
||||||
public static final String SP_PARTSTATUS = "partstatus";
|
|
||||||
@SearchParamDefinition(name="patient", path="AppointmentResponse.actor", description="This Response is for this Patient", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor", description="This Response is for this Practitioner", type="reference" )
|
|
||||||
public static final String SP_PRACTITIONER = "practitioner";
|
|
||||||
@SearchParamDefinition(name="location", path="AppointmentResponse.actor", description="This Response is for this Location", type="reference" )
|
|
||||||
public static final String SP_LOCATION = "location";
|
|
||||||
@SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference" )
|
@SearchParamDefinition(name="actor", path="AppointmentResponse.actor", description="The Person, Location/HealthcareService or Device that this appointment response replies for", type="reference" )
|
||||||
public static final String SP_ACTOR = "actor";
|
public static final String SP_ACTOR = "actor";
|
||||||
|
@SearchParamDefinition(name="partstatus", path="AppointmentResponse.participantStatus", description="The participants acceptance status for this appointment", type="token" )
|
||||||
|
public static final String SP_PARTSTATUS = "partstatus";
|
||||||
|
@SearchParamDefinition(name="practitioner", path="AppointmentResponse.actor", description="This Response is for this Practitioner", type="reference" )
|
||||||
|
public static final String SP_PRACTITIONER = "practitioner";
|
||||||
|
@SearchParamDefinition(name="patient", path="AppointmentResponse.actor", description="This Response is for this Patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference" )
|
@SearchParamDefinition(name="appointment", path="AppointmentResponse.appointment", description="The appointment that the response is attached to", type="reference" )
|
||||||
public static final String SP_APPOINTMENT = "appointment";
|
public static final String SP_APPOINTMENT = "appointment";
|
||||||
|
@SearchParamDefinition(name="location", path="AppointmentResponse.actor", description="This Response is for this Location", type="reference" )
|
||||||
|
public static final String SP_LOCATION = "location";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -3560,42 +3539,42 @@ public class AuditEvent extends DomainResource {
|
||||||
return ResourceType.AuditEvent;
|
return ResourceType.AuditEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="site", path="AuditEvent.source.site", description="Logical source location within the enterprise", type="token" )
|
|
||||||
public static final String SP_SITE = "site";
|
|
||||||
@SearchParamDefinition(name="desc", path="AuditEvent.object.name", description="Instance-specific descriptor for Object", type="string" )
|
|
||||||
public static final String SP_DESC = "desc";
|
|
||||||
@SearchParamDefinition(name="type", path="AuditEvent.event.type", description="Type/identifier of event", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="date", path="AuditEvent.event.dateTime", description="Time when the event occurred on source", type="date" )
|
@SearchParamDefinition(name="date", path="AuditEvent.event.dateTime", description="Time when the event occurred on source", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="reference", path="AuditEvent.object.reference", description="Specific instance of resource (e.g. versioned)", type="reference" )
|
@SearchParamDefinition(name="address", path="AuditEvent.participant.network.identifier", description="Identifier for the network access point of the user device", type="token" )
|
||||||
public static final String SP_REFERENCE = "reference";
|
public static final String SP_ADDRESS = "address";
|
||||||
@SearchParamDefinition(name="identity", path="AuditEvent.object.identifier", description="Specific instance of object (e.g. versioned)", type="token" )
|
|
||||||
public static final String SP_IDENTITY = "identity";
|
|
||||||
@SearchParamDefinition(name="patient", path="", description="A patient that the .object.reference refers to", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="altid", path="AuditEvent.participant.altId", description="Alternative User id e.g. authentication", type="token" )
|
|
||||||
public static final String SP_ALTID = "altid";
|
|
||||||
@SearchParamDefinition(name="patientid", path="", description="The id of the patient (one of multiple kinds of participations)", type="token" )
|
@SearchParamDefinition(name="patientid", path="", description="The id of the patient (one of multiple kinds of participations)", type="token" )
|
||||||
public static final String SP_PATIENTID = "patientid";
|
public static final String SP_PATIENTID = "patientid";
|
||||||
@SearchParamDefinition(name="source", path="AuditEvent.source.identifier", description="The id of source where event originated", type="token" )
|
@SearchParamDefinition(name="source", path="AuditEvent.source.identifier", description="The id of source where event originated", type="token" )
|
||||||
public static final String SP_SOURCE = "source";
|
public static final String SP_SOURCE = "source";
|
||||||
@SearchParamDefinition(name="address", path="AuditEvent.participant.network.identifier", description="Identifier for the network access point of the user device", type="token" )
|
@SearchParamDefinition(name="type", path="AuditEvent.event.type", description="Type/identifier of event", type="token" )
|
||||||
public static final String SP_ADDRESS = "address";
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="altid", path="AuditEvent.participant.altId", description="Alternative User id e.g. authentication", type="token" )
|
||||||
|
public static final String SP_ALTID = "altid";
|
||||||
|
@SearchParamDefinition(name="participant", path="AuditEvent.participant.reference", description="Direct reference to resource", type="reference" )
|
||||||
|
public static final String SP_PARTICIPANT = "participant";
|
||||||
|
@SearchParamDefinition(name="reference", path="AuditEvent.object.reference", description="Specific instance of resource (e.g. versioned)", type="reference" )
|
||||||
|
public static final String SP_REFERENCE = "reference";
|
||||||
|
@SearchParamDefinition(name="site", path="AuditEvent.source.site", description="Logical source location within the enterprise", type="token" )
|
||||||
|
public static final String SP_SITE = "site";
|
||||||
@SearchParamDefinition(name="subtype", path="AuditEvent.event.subtype", description="More specific type/id for the event", type="token" )
|
@SearchParamDefinition(name="subtype", path="AuditEvent.event.subtype", description="More specific type/id for the event", type="token" )
|
||||||
public static final String SP_SUBTYPE = "subtype";
|
public static final String SP_SUBTYPE = "subtype";
|
||||||
|
@SearchParamDefinition(name="identity", path="AuditEvent.object.identifier", description="Specific instance of object (e.g. versioned)", type="token" )
|
||||||
|
public static final String SP_IDENTITY = "identity";
|
||||||
|
@SearchParamDefinition(name="patient", path="", description="A patient that the .object.reference refers to", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="object-type", path="AuditEvent.object.type", description="Type of object involved", type="token" )
|
||||||
|
public static final String SP_OBJECTTYPE = "object-type";
|
||||||
@SearchParamDefinition(name="name", path="AuditEvent.participant.name", description="Human-meaningful name for the user", type="string" )
|
@SearchParamDefinition(name="name", path="AuditEvent.participant.name", description="Human-meaningful name for the user", type="string" )
|
||||||
public static final String SP_NAME = "name";
|
public static final String SP_NAME = "name";
|
||||||
@SearchParamDefinition(name="action", path="AuditEvent.event.action", description="Type of action performed during the event", type="token" )
|
@SearchParamDefinition(name="action", path="AuditEvent.event.action", description="Type of action performed during the event", type="token" )
|
||||||
public static final String SP_ACTION = "action";
|
public static final String SP_ACTION = "action";
|
||||||
@SearchParamDefinition(name="participant", path="AuditEvent.participant.reference", description="Direct reference to resource", type="reference" )
|
|
||||||
public static final String SP_PARTICIPANT = "participant";
|
|
||||||
@SearchParamDefinition(name="policy", path="AuditEvent.participant.policy", description="Policy that authorized event", type="uri" )
|
|
||||||
public static final String SP_POLICY = "policy";
|
|
||||||
@SearchParamDefinition(name="object-type", path="AuditEvent.object.type", description="Type of object involved", type="token" )
|
|
||||||
public static final String SP_OBJECTTYPE = "object-type";
|
|
||||||
@SearchParamDefinition(name="user", path="AuditEvent.participant.userId", description="Unique identifier for the user", type="token" )
|
@SearchParamDefinition(name="user", path="AuditEvent.participant.userId", description="Unique identifier for the user", type="token" )
|
||||||
public static final String SP_USER = "user";
|
public static final String SP_USER = "user";
|
||||||
|
@SearchParamDefinition(name="desc", path="AuditEvent.object.name", description="Instance-specific descriptor for Object", type="string" )
|
||||||
|
public static final String SP_DESC = "desc";
|
||||||
|
@SearchParamDefinition(name="policy", path="AuditEvent.participant.policy", description="Policy that authorized event", type="uri" )
|
||||||
|
public static final String SP_POLICY = "policy";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
|
@ -28,27 +28,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import org.apache.commons.codec.binary.Base64;
|
import org.apache.commons.codec.binary.Base64;
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
import org.hl7.fhir.instance.model.api.IBaseBinary;
|
||||||
|
|
||||||
public abstract class BaseBinary extends Resource implements IBaseBinary {
|
public abstract class BaseBinary extends Resource implements IBaseBinary {
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
import org.hl7.fhir.instance.model.api.IBaseExtension;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseHasExtensions;
|
import org.hl7.fhir.instance.model.api.IBaseHasExtensions;
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.hl7.fhir.instance.model.api.INarrative;
|
import org.hl7.fhir.instance.model.api.INarrative;
|
||||||
import org.hl7.fhir.utilities.xhtml.XhtmlNode;
|
import org.hl7.fhir.utilities.xhtml.XhtmlNode;
|
||||||
|
|
|
@ -1,30 +1,10 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBaseReference;
|
import org.hl7.fhir.instance.model.api.IBaseReference;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseResource;
|
import org.hl7.fhir.instance.model.api.IBaseResource;
|
||||||
import org.hl7.fhir.instance.model.api.ICompositeType;
|
import org.hl7.fhir.instance.model.api.ICompositeType;
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
|
|
||||||
public abstract class BaseReference extends Type implements IBaseReference, ICompositeType {
|
public abstract class BaseReference extends Type implements IBaseReference, ICompositeType {
|
||||||
|
|
||||||
|
@ -45,7 +25,7 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BaseReference(IRefImplResource theResource) {
|
public BaseReference(IAnyResource theResource) {
|
||||||
resource = theResource;
|
resource = theResource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,13 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
import org.hl7.fhir.instance.model.api.IAnyResource;
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IIdType;
|
import org.hl7.fhir.instance.model.api.IIdType;
|
||||||
import org.hl7.fhir.instance.model.api.IRefImplResource;
|
|
||||||
|
|
||||||
public abstract class BaseResource extends Base implements IRefImplResource {
|
public abstract class BaseResource extends Base implements IAnyResource {
|
||||||
|
|
||||||
/**
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
* @param value The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.
|
* @param value The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.
|
||||||
*/
|
*/
|
||||||
public BaseResource setId(IIdType value) {
|
public BaseResource setId(IIdType value) {
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -379,16 +358,16 @@ public class Basic extends DomainResource {
|
||||||
return ResourceType.Basic;
|
return ResourceType.Basic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" )
|
|
||||||
public static final String SP_CREATED = "created";
|
|
||||||
@SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" )
|
@SearchParamDefinition(name="code", path="Basic.code", description="Kind of Resource", type="token" )
|
||||||
public static final String SP_CODE = "code";
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="created", path="Basic.created", description="When created", type="date" )
|
||||||
|
public static final String SP_CREATED = "created";
|
||||||
|
@SearchParamDefinition(name="patient", path="Basic.subject", description="Identifies the", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="author", path="Basic.author", description="Who created", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -439,10 +418,10 @@ public class BodySite extends DomainResource {
|
||||||
return ResourceType.BodySite;
|
return ResourceType.BodySite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="patient", path="BodySite.patient", description="Patient to whom bodysite belongs", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="code", path="BodySite.code", description="Named anatomical location", type="token" )
|
@SearchParamDefinition(name="code", path="BodySite.code", description="Named anatomical location", type="token" )
|
||||||
public static final String SP_CODE = "code";
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="patient", path="BodySite.patient", description="Patient to whom bodysite belongs", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,27 +31,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseBooleanDatatype;
|
import org.hl7.fhir.instance.model.api.IBaseBooleanDatatype;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -2016,6 +1995,53 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the {@link #getLink() link} which matches a given {@link BundleLinkComponent#getRelation() relation}.
|
||||||
|
* If no link is found which matches the given relation, returns <code>null</code>. If more than one
|
||||||
|
* link is found which matches the given relation, returns the first matching BundleLinkComponent.
|
||||||
|
*
|
||||||
|
* @param theRelation
|
||||||
|
* The relation, such as "next", or "self. See the constants such as {@link IBaseBundle#LINK_SELF} and {@link IBaseBundle#LINK_NEXT}.
|
||||||
|
* @return Returns a matching BundleLinkComponent, or <code>null</code>
|
||||||
|
* @see IBaseBundle#LINK_NEXT
|
||||||
|
* @see IBaseBundle#LINK_PREV
|
||||||
|
* @see IBaseBundle#LINK_SELF
|
||||||
|
*/
|
||||||
|
public BundleLinkComponent getLink(String theRelation) {
|
||||||
|
org.apache.commons.lang3.Validate.notBlank(theRelation, "theRelation may not be null or empty");
|
||||||
|
for (BundleLinkComponent next : getLink()) {
|
||||||
|
if (theRelation.equals(next.getRelation())) {
|
||||||
|
return next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the {@link #getLink() link} which matches a given {@link BundleLinkComponent#getRelation() relation}.
|
||||||
|
* If no link is found which matches the given relation, creates a new BundleLinkComponent with the
|
||||||
|
* given relation and adds it to this Bundle. If more than one
|
||||||
|
* link is found which matches the given relation, returns the first matching BundleLinkComponent.
|
||||||
|
*
|
||||||
|
* @param theRelation
|
||||||
|
* The relation, such as "next", or "self. See the constants such as {@link IBaseBundle#LINK_SELF} and {@link IBaseBundle#LINK_NEXT}.
|
||||||
|
* @return Returns a matching BundleLinkComponent, or <code>null</code>
|
||||||
|
* @see IBaseBundle#LINK_NEXT
|
||||||
|
* @see IBaseBundle#LINK_PREV
|
||||||
|
* @see IBaseBundle#LINK_SELF
|
||||||
|
*/
|
||||||
|
public BundleLinkComponent getLinkOrCreate(String theRelation) {
|
||||||
|
org.apache.commons.lang3.Validate.notBlank(theRelation, "theRelation may not be null or empty");
|
||||||
|
for (BundleLinkComponent next : getLink()) {
|
||||||
|
if (theRelation.equals(next.getRelation())) {
|
||||||
|
return next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
BundleLinkComponent retVal = new BundleLinkComponent();
|
||||||
|
retVal.setRelation(theRelation);
|
||||||
|
getLink().add(retVal);
|
||||||
|
return retVal;
|
||||||
|
}
|
||||||
protected void listChildren(List<Property> childrenList) {
|
protected void listChildren(List<Property> childrenList) {
|
||||||
super.listChildren(childrenList);
|
super.listChildren(childrenList);
|
||||||
childrenList.add(new Property("type", "code", "Indicates the purpose of this bundle- how it was intended to be used.", 0, java.lang.Integer.MAX_VALUE, type));
|
childrenList.add(new Property("type", "code", "Indicates the purpose of this bundle- how it was intended to be used.", 0, java.lang.Integer.MAX_VALUE, type));
|
||||||
|
@ -2084,12 +2110,12 @@ public class Bundle extends Resource implements IBaseBundle {
|
||||||
return ResourceType.Bundle;
|
return ResourceType.Bundle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="message", path="", description="The first resource in the bundle, if the bundle type is 'message' - this is a message header, and this parameter provides access to search its contents", type="reference" )
|
|
||||||
public static final String SP_MESSAGE = "message";
|
|
||||||
@SearchParamDefinition(name="composition", path="", description="The first resource in the bundle, if the bundle type is 'document' - this is a composition, and this parameter provides access to searches its contents", type="reference" )
|
@SearchParamDefinition(name="composition", path="", description="The first resource in the bundle, if the bundle type is 'document' - this is a composition, and this parameter provides access to searches its contents", type="reference" )
|
||||||
public static final String SP_COMPOSITION = "composition";
|
public static final String SP_COMPOSITION = "composition";
|
||||||
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | history | searchset | collection", type="token" )
|
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | history | searchset | collection", type="token" )
|
||||||
public static final String SP_TYPE = "type";
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="message", path="", description="The first resource in the bundle, if the bundle type is 'message' - this is a message header, and this parameter provides access to search its contents", type="reference" )
|
||||||
|
public static final String SP_MESSAGE = "message";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -2440,24 +2419,24 @@ public class CarePlan extends DomainResource {
|
||||||
return ResourceType.CarePlan;
|
return ResourceType.CarePlan;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="activitycode", path="CarePlan.activity.detail.code", description="Detail type of activity", type="token" )
|
|
||||||
public static final String SP_ACTIVITYCODE = "activitycode";
|
|
||||||
@SearchParamDefinition(name="patient", path="CarePlan.patient", description="Who care plan is for", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="condition", path="CarePlan.concern", description="Health issues this plan addresses", type="reference" )
|
|
||||||
public static final String SP_CONDITION = "condition";
|
|
||||||
@SearchParamDefinition(name="activitydate", path="CarePlan.activity.detail.scheduled[x]", description="Specified date occurs within period specified by CarePlan.activity.timingSchedule", type="date" )
|
|
||||||
public static final String SP_ACTIVITYDATE = "activitydate";
|
|
||||||
@SearchParamDefinition(name="performer", path="CarePlan.activity.detail.performer", description="Matches if the practitioner is listed as a performer in any of the 'simple' activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)", type="reference" )
|
|
||||||
public static final String SP_PERFORMER = "performer";
|
|
||||||
@SearchParamDefinition(name="participant", path="CarePlan.participant.member", description="Who is involved", type="reference" )
|
|
||||||
public static final String SP_PARTICIPANT = "participant";
|
|
||||||
@SearchParamDefinition(name="date", path="CarePlan.period", description="Time period plan covers", type="date" )
|
@SearchParamDefinition(name="date", path="CarePlan.period", description="Time period plan covers", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="goal", path="CarePlan.goal", description="Desired outcome of plan", type="reference" )
|
@SearchParamDefinition(name="activitycode", path="CarePlan.activity.detail.code", description="Detail type of activity", type="token" )
|
||||||
public static final String SP_GOAL = "goal";
|
public static final String SP_ACTIVITYCODE = "activitycode";
|
||||||
|
@SearchParamDefinition(name="activitydate", path="CarePlan.activity.detail.scheduled[x]", description="Specified date occurs within period specified by CarePlan.activity.timingSchedule", type="date" )
|
||||||
|
public static final String SP_ACTIVITYDATE = "activitydate";
|
||||||
|
@SearchParamDefinition(name="condition", path="CarePlan.concern", description="Health issues this plan addresses", type="reference" )
|
||||||
|
public static final String SP_CONDITION = "condition";
|
||||||
@SearchParamDefinition(name="activityreference", path="CarePlan.activity.reference", description="Activity details defined in specific resource", type="reference" )
|
@SearchParamDefinition(name="activityreference", path="CarePlan.activity.reference", description="Activity details defined in specific resource", type="reference" )
|
||||||
public static final String SP_ACTIVITYREFERENCE = "activityreference";
|
public static final String SP_ACTIVITYREFERENCE = "activityreference";
|
||||||
|
@SearchParamDefinition(name="performer", path="CarePlan.activity.detail.performer", description="Matches if the practitioner is listed as a performer in any of the 'simple' activities. (For performers of the detailed activities, chain through the activitydetail search parameter.)", type="reference" )
|
||||||
|
public static final String SP_PERFORMER = "performer";
|
||||||
|
@SearchParamDefinition(name="goal", path="CarePlan.goal", description="Desired outcome of plan", type="reference" )
|
||||||
|
public static final String SP_GOAL = "goal";
|
||||||
|
@SearchParamDefinition(name="patient", path="CarePlan.patient", description="Who care plan is for", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="participant", path="CarePlan.participant.member", description="Who is involved", type="reference" )
|
||||||
|
public static final String SP_PARTICIPANT = "participant";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -4867,16 +4846,16 @@ public class Claim extends DomainResource {
|
||||||
return ResourceType.Claim;
|
return ResourceType.Claim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SearchParamDefinition(name="identifier", path="Claim.identifier", description="The primary identifier of the financial resource", type="token" )
|
||||||
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="provider", path="Claim.provider", description="Provider responsible for the claim", type="reference" )
|
||||||
|
public static final String SP_PROVIDER = "provider";
|
||||||
|
@SearchParamDefinition(name="use", path="Claim.use", description="The kind of financial resource", type="token" )
|
||||||
|
public static final String SP_USE = "use";
|
||||||
@SearchParamDefinition(name="patient", path="Claim.patient", description="Patient", type="reference" )
|
@SearchParamDefinition(name="patient", path="Claim.patient", description="Patient", type="reference" )
|
||||||
public static final String SP_PATIENT = "patient";
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="priority", path="Claim.priority", description="Processing priority requested", type="token" )
|
@SearchParamDefinition(name="priority", path="Claim.priority", description="Processing priority requested", type="token" )
|
||||||
public static final String SP_PRIORITY = "priority";
|
public static final String SP_PRIORITY = "priority";
|
||||||
@SearchParamDefinition(name="use", path="Claim.use", description="The kind of financial resource", type="token" )
|
|
||||||
public static final String SP_USE = "use";
|
|
||||||
@SearchParamDefinition(name="provider", path="Claim.provider", description="Provider responsible for the claim", type="reference" )
|
|
||||||
public static final String SP_PROVIDER = "provider";
|
|
||||||
@SearchParamDefinition(name="identifier", path="Claim.identifier", description="The primary identifier of the financial resource", type="token" )
|
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1654,34 +1633,34 @@ public class ClinicalImpression extends DomainResource {
|
||||||
return ResourceType.ClinicalImpression;
|
return ResourceType.ClinicalImpression;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SearchParamDefinition(name="date", path="ClinicalImpression.date", description="When the assessment occurred", type="date" )
|
||||||
|
public static final String SP_DATE = "date";
|
||||||
|
@SearchParamDefinition(name="previous", path="ClinicalImpression.previous", description="Reference to last assessment", type="reference" )
|
||||||
|
public static final String SP_PREVIOUS = "previous";
|
||||||
@SearchParamDefinition(name="assessor", path="ClinicalImpression.assessor", description="The clinician performing the assessment", type="reference" )
|
@SearchParamDefinition(name="assessor", path="ClinicalImpression.assessor", description="The clinician performing the assessment", type="reference" )
|
||||||
public static final String SP_ASSESSOR = "assessor";
|
public static final String SP_ASSESSOR = "assessor";
|
||||||
@SearchParamDefinition(name="trigger", path="ClinicalImpression.triggerReference", description="Request or event that necessitated this assessment", type="reference" )
|
@SearchParamDefinition(name="trigger", path="ClinicalImpression.triggerReference", description="Request or event that necessitated this assessment", type="reference" )
|
||||||
public static final String SP_TRIGGER = "trigger";
|
public static final String SP_TRIGGER = "trigger";
|
||||||
|
@SearchParamDefinition(name="finding", path="ClinicalImpression.finding.item", description="Specific text or code for finding", type="token" )
|
||||||
|
public static final String SP_FINDING = "finding";
|
||||||
|
@SearchParamDefinition(name="ruledout", path="ClinicalImpression.ruledOut.item", description="Specific text of code for diagnosis", type="token" )
|
||||||
|
public static final String SP_RULEDOUT = "ruledout";
|
||||||
|
@SearchParamDefinition(name="problem", path="ClinicalImpression.problem", description="General assessment of patient state", type="reference" )
|
||||||
|
public static final String SP_PROBLEM = "problem";
|
||||||
@SearchParamDefinition(name="patient", path="ClinicalImpression.patient", description="The patient being asssesed", type="reference" )
|
@SearchParamDefinition(name="patient", path="ClinicalImpression.patient", description="The patient being asssesed", type="reference" )
|
||||||
public static final String SP_PATIENT = "patient";
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="investigation", path="ClinicalImpression.investigations.item", description="Record of a specific investigation", type="reference" )
|
||||||
|
public static final String SP_INVESTIGATION = "investigation";
|
||||||
|
@SearchParamDefinition(name="action", path="ClinicalImpression.action", description="Actions taken during assessment", type="reference" )
|
||||||
|
public static final String SP_ACTION = "action";
|
||||||
|
@SearchParamDefinition(name="trigger-code", path="ClinicalImpression.triggerCodeableConcept", description="Request or event that necessitated this assessment", type="token" )
|
||||||
|
public static final String SP_TRIGGERCODE = "trigger-code";
|
||||||
@SearchParamDefinition(name="plan", path="ClinicalImpression.plan", description="Plan of action after assessment", type="reference" )
|
@SearchParamDefinition(name="plan", path="ClinicalImpression.plan", description="Plan of action after assessment", type="reference" )
|
||||||
public static final String SP_PLAN = "plan";
|
public static final String SP_PLAN = "plan";
|
||||||
@SearchParamDefinition(name="resolved", path="ClinicalImpression.resolved", description="Diagnosies/conditions resolved since previous assessment", type="token" )
|
@SearchParamDefinition(name="resolved", path="ClinicalImpression.resolved", description="Diagnosies/conditions resolved since previous assessment", type="token" )
|
||||||
public static final String SP_RESOLVED = "resolved";
|
public static final String SP_RESOLVED = "resolved";
|
||||||
@SearchParamDefinition(name="trigger-code", path="ClinicalImpression.triggerCodeableConcept", description="Request or event that necessitated this assessment", type="token" )
|
|
||||||
public static final String SP_TRIGGERCODE = "trigger-code";
|
|
||||||
@SearchParamDefinition(name="previous", path="ClinicalImpression.previous", description="Reference to last assessment", type="reference" )
|
|
||||||
public static final String SP_PREVIOUS = "previous";
|
|
||||||
@SearchParamDefinition(name="status", path="ClinicalImpression.status", description="in-progress | completed | entered-in-error", type="token" )
|
@SearchParamDefinition(name="status", path="ClinicalImpression.status", description="in-progress | completed | entered-in-error", type="token" )
|
||||||
public static final String SP_STATUS = "status";
|
public static final String SP_STATUS = "status";
|
||||||
@SearchParamDefinition(name="action", path="ClinicalImpression.action", description="Actions taken during assessment", type="reference" )
|
|
||||||
public static final String SP_ACTION = "action";
|
|
||||||
@SearchParamDefinition(name="finding", path="ClinicalImpression.finding.item", description="Specific text or code for finding", type="token" )
|
|
||||||
public static final String SP_FINDING = "finding";
|
|
||||||
@SearchParamDefinition(name="investigation", path="ClinicalImpression.investigations.item", description="Record of a specific investigation", type="reference" )
|
|
||||||
public static final String SP_INVESTIGATION = "investigation";
|
|
||||||
@SearchParamDefinition(name="problem", path="ClinicalImpression.problem", description="General assessment of patient state", type="reference" )
|
|
||||||
public static final String SP_PROBLEM = "problem";
|
|
||||||
@SearchParamDefinition(name="date", path="ClinicalImpression.date", description="When the assessment occurred", type="date" )
|
|
||||||
public static final String SP_DATE = "date";
|
|
||||||
@SearchParamDefinition(name="ruledout", path="ClinicalImpression.ruledOut.item", description="Specific text of code for diagnosis", type="token" )
|
|
||||||
public static final String SP_RULEDOUT = "ruledout";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,27 +28,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import static org.apache.commons.lang3.StringUtils.defaultString;
|
import static org.apache.commons.lang3.StringUtils.defaultString;
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1007,28 +986,28 @@ public class Communication extends DomainResource {
|
||||||
return ResourceType.Communication;
|
return ResourceType.Communication;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="sender", path="Communication.sender", description="Message sender", type="reference" )
|
|
||||||
public static final String SP_SENDER = "sender";
|
|
||||||
@SearchParamDefinition(name="sent", path="Communication.sent", description="When sent", type="date" )
|
|
||||||
public static final String SP_SENT = "sent";
|
|
||||||
@SearchParamDefinition(name="category", path="Communication.category", description="Message category", type="token" )
|
|
||||||
public static final String SP_CATEGORY = "category";
|
|
||||||
@SearchParamDefinition(name="patient", path="Communication.subject", description="Focus of message", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="status", path="Communication.status", description="in-progress | completed | suspended | rejected | failed", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="subject", path="Communication.subject", description="Focus of message", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="received", path="Communication.received", description="When received", type="date" )
|
|
||||||
public static final String SP_RECEIVED = "received";
|
|
||||||
@SearchParamDefinition(name="encounter", path="Communication.encounter", description="Encounter leading to message", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="identifier", path="Communication.identifier", description="Unique identifier", type="token" )
|
@SearchParamDefinition(name="identifier", path="Communication.identifier", description="Unique identifier", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="medium", path="Communication.medium", description="Communication medium", type="token" )
|
@SearchParamDefinition(name="sender", path="Communication.sender", description="Message sender", type="reference" )
|
||||||
public static final String SP_MEDIUM = "medium";
|
public static final String SP_SENDER = "sender";
|
||||||
|
@SearchParamDefinition(name="subject", path="Communication.subject", description="Focus of message", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="Communication.subject", description="Focus of message", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="recipient", path="Communication.recipient", description="Message recipient", type="reference" )
|
@SearchParamDefinition(name="recipient", path="Communication.recipient", description="Message recipient", type="reference" )
|
||||||
public static final String SP_RECIPIENT = "recipient";
|
public static final String SP_RECIPIENT = "recipient";
|
||||||
|
@SearchParamDefinition(name="received", path="Communication.received", description="When received", type="date" )
|
||||||
|
public static final String SP_RECEIVED = "received";
|
||||||
|
@SearchParamDefinition(name="medium", path="Communication.medium", description="Communication medium", type="token" )
|
||||||
|
public static final String SP_MEDIUM = "medium";
|
||||||
|
@SearchParamDefinition(name="encounter", path="Communication.encounter", description="Encounter leading to message", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="category", path="Communication.category", description="Message category", type="token" )
|
||||||
|
public static final String SP_CATEGORY = "category";
|
||||||
|
@SearchParamDefinition(name="sent", path="Communication.sent", description="When sent", type="date" )
|
||||||
|
public static final String SP_SENT = "sent";
|
||||||
|
@SearchParamDefinition(name="status", path="Communication.status", description="in-progress | completed | suspended | rejected | failed", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1164,32 +1143,32 @@ public class CommunicationRequest extends DomainResource {
|
||||||
return ResourceType.CommunicationRequest;
|
return ResourceType.CommunicationRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="sender", path="CommunicationRequest.sender", description="Message sender", type="reference" )
|
|
||||||
public static final String SP_SENDER = "sender";
|
|
||||||
@SearchParamDefinition(name="time", path="CommunicationRequest.scheduledTime", description="When scheduled", type="date" )
|
|
||||||
public static final String SP_TIME = "time";
|
|
||||||
@SearchParamDefinition(name="requester", path="CommunicationRequest.requester", description="Requester of communication", type="reference" )
|
@SearchParamDefinition(name="requester", path="CommunicationRequest.requester", description="Requester of communication", type="reference" )
|
||||||
public static final String SP_REQUESTER = "requester";
|
public static final String SP_REQUESTER = "requester";
|
||||||
@SearchParamDefinition(name="category", path="CommunicationRequest.category", description="Message category", type="token" )
|
|
||||||
public static final String SP_CATEGORY = "category";
|
|
||||||
@SearchParamDefinition(name="patient", path="CommunicationRequest.subject", description="Focus of message", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="status", path="CommunicationRequest.status", description="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="priority", path="CommunicationRequest.priority", description="Message urgency", type="token" )
|
|
||||||
public static final String SP_PRIORITY = "priority";
|
|
||||||
@SearchParamDefinition(name="subject", path="CommunicationRequest.subject", description="Focus of message", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="ordered", path="CommunicationRequest.orderedOn", description="When ordered or proposed", type="date" )
|
|
||||||
public static final String SP_ORDERED = "ordered";
|
|
||||||
@SearchParamDefinition(name="encounter", path="CommunicationRequest.encounter", description="Encounter leading to message", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="identifier", path="CommunicationRequest.identifier", description="Unique identifier", type="token" )
|
@SearchParamDefinition(name="identifier", path="CommunicationRequest.identifier", description="Unique identifier", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="ordered", path="CommunicationRequest.orderedOn", description="When ordered or proposed", type="date" )
|
||||||
|
public static final String SP_ORDERED = "ordered";
|
||||||
|
@SearchParamDefinition(name="subject", path="CommunicationRequest.subject", description="Focus of message", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
@SearchParamDefinition(name="medium", path="CommunicationRequest.medium", description="Communication medium", type="token" )
|
@SearchParamDefinition(name="medium", path="CommunicationRequest.medium", description="Communication medium", type="token" )
|
||||||
public static final String SP_MEDIUM = "medium";
|
public static final String SP_MEDIUM = "medium";
|
||||||
|
@SearchParamDefinition(name="encounter", path="CommunicationRequest.encounter", description="Encounter leading to message", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="priority", path="CommunicationRequest.priority", description="Message urgency", type="token" )
|
||||||
|
public static final String SP_PRIORITY = "priority";
|
||||||
|
@SearchParamDefinition(name="sender", path="CommunicationRequest.sender", description="Message sender", type="reference" )
|
||||||
|
public static final String SP_SENDER = "sender";
|
||||||
|
@SearchParamDefinition(name="patient", path="CommunicationRequest.subject", description="Focus of message", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="recipient", path="CommunicationRequest.recipient", description="Message recipient", type="reference" )
|
@SearchParamDefinition(name="recipient", path="CommunicationRequest.recipient", description="Message recipient", type="reference" )
|
||||||
public static final String SP_RECIPIENT = "recipient";
|
public static final String SP_RECIPIENT = "recipient";
|
||||||
|
@SearchParamDefinition(name="time", path="CommunicationRequest.scheduledTime", description="When scheduled", type="date" )
|
||||||
|
public static final String SP_TIME = "time";
|
||||||
|
@SearchParamDefinition(name="category", path="CommunicationRequest.category", description="Message category", type="token" )
|
||||||
|
public static final String SP_CATEGORY = "category";
|
||||||
|
@SearchParamDefinition(name="status", path="CommunicationRequest.status", description="proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.hl7.fhir.utilities.Utilities;
|
import org.hl7.fhir.utilities.Utilities;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1753,38 +1732,38 @@ public class Composition extends DomainResource {
|
||||||
return ResourceType.Composition;
|
return ResourceType.Composition;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="section-code", path="Composition.section.code", description="Classification of section (recommended)", type="token" )
|
|
||||||
public static final String SP_SECTIONCODE = "section-code";
|
|
||||||
@SearchParamDefinition(name="status", path="Composition.status", description="preliminary | final | appended | amended | entered-in-error", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="subject", path="Composition.subject", description="Who and/or what the composition is about", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="class", path="Composition.class", description="Categorization of Composition", type="token" )
|
|
||||||
public static final String SP_CLASS = "class";
|
|
||||||
@SearchParamDefinition(name="encounter", path="Composition.encounter", description="Context of the conposition", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="period", path="Composition.event.period", description="The period covered by the documentation", type="date" )
|
|
||||||
public static final String SP_PERIOD = "period";
|
|
||||||
@SearchParamDefinition(name="type", path="Composition.type", description="Kind of composition (LOINC if possible)", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="date", path="Composition.date", description="Composition editing time", type="date" )
|
@SearchParamDefinition(name="date", path="Composition.date", description="Composition editing time", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="section", path="Composition.section.content", description="The Content of the section (narrative + data entries)", type="reference" )
|
|
||||||
public static final String SP_SECTION = "section";
|
|
||||||
@SearchParamDefinition(name="author", path="Composition.author", description="Who and/or what authored the composition", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="title", path="Composition.title", description="Human Readable name/title", type="string" )
|
|
||||||
public static final String SP_TITLE = "title";
|
|
||||||
@SearchParamDefinition(name="patient", path="Composition.subject", description="Who and/or what the composition is about", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="attester", path="Composition.attester.party", description="Who attested the composition", type="reference" )
|
|
||||||
public static final String SP_ATTESTER = "attester";
|
|
||||||
@SearchParamDefinition(name="confidentiality", path="Composition.confidentiality", description="As defined by affinity domain", type="token" )
|
|
||||||
public static final String SP_CONFIDENTIALITY = "confidentiality";
|
|
||||||
@SearchParamDefinition(name="context", path="Composition.event.code", description="Code(s) that apply to the event being documented", type="token" )
|
|
||||||
public static final String SP_CONTEXT = "context";
|
|
||||||
@SearchParamDefinition(name="identifier", path="Composition.identifier", description="Logical identifier of composition (version-independent)", type="token" )
|
@SearchParamDefinition(name="identifier", path="Composition.identifier", description="Logical identifier of composition (version-independent)", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="period", path="Composition.event.period", description="The period covered by the documentation", type="date" )
|
||||||
|
public static final String SP_PERIOD = "period";
|
||||||
|
@SearchParamDefinition(name="subject", path="Composition.subject", description="Who and/or what the composition is about", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="author", path="Composition.author", description="Who and/or what authored the composition", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
@SearchParamDefinition(name="confidentiality", path="Composition.confidentiality", description="As defined by affinity domain", type="token" )
|
||||||
|
public static final String SP_CONFIDENTIALITY = "confidentiality";
|
||||||
|
@SearchParamDefinition(name="section-code", path="Composition.section.code", description="Classification of section (recommended)", type="token" )
|
||||||
|
public static final String SP_SECTIONCODE = "section-code";
|
||||||
|
@SearchParamDefinition(name="section", path="Composition.section.content", description="The Content of the section (narrative + data entries)", type="reference" )
|
||||||
|
public static final String SP_SECTION = "section";
|
||||||
|
@SearchParamDefinition(name="encounter", path="Composition.encounter", description="Context of the conposition", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="type", path="Composition.type", description="Kind of composition (LOINC if possible)", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="title", path="Composition.title", description="Human Readable name/title", type="string" )
|
||||||
|
public static final String SP_TITLE = "title";
|
||||||
|
@SearchParamDefinition(name="attester", path="Composition.attester.party", description="Who attested the composition", type="reference" )
|
||||||
|
public static final String SP_ATTESTER = "attester";
|
||||||
|
@SearchParamDefinition(name="patient", path="Composition.subject", description="Who and/or what the composition is about", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="context", path="Composition.event.code", description="Code(s) that apply to the event being documented", type="token" )
|
||||||
|
public static final String SP_CONTEXT = "context";
|
||||||
|
@SearchParamDefinition(name="class", path="Composition.class", description="Categorization of Composition", type="token" )
|
||||||
|
public static final String SP_CLASS = "class";
|
||||||
|
@SearchParamDefinition(name="status", path="Composition.status", description="preliminary | final | appended | amended | entered-in-error", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -2162,34 +2141,34 @@ public class ConceptMap extends DomainResource {
|
||||||
return ResourceType.ConceptMap;
|
return ResourceType.ConceptMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="dependson", path="ConceptMap.element.dependsOn.element", description="Reference to element/field/valueset mapping depends on", type="uri" )
|
|
||||||
public static final String SP_DEPENDSON = "dependson";
|
|
||||||
@SearchParamDefinition(name="status", path="ConceptMap.status", description="Status of the concept map", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="date", path="ConceptMap.date", description="The concept map publication date", type="date" )
|
@SearchParamDefinition(name="date", path="ConceptMap.date", description="The concept map publication date", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="url", path="ConceptMap.url", description="The url of the concept map", type="uri" )
|
@SearchParamDefinition(name="identifier", path="ConceptMap.identifier", description="Additional identifier for the concept map", type="token" )
|
||||||
public static final String SP_URL = "url";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="version", path="ConceptMap.version", description="The version identifier of the concept map", type="token" )
|
|
||||||
public static final String SP_VERSION = "version";
|
|
||||||
@SearchParamDefinition(name="publisher", path="ConceptMap.publisher", description="Name of the publisher of the concept map", type="string" )
|
|
||||||
public static final String SP_PUBLISHER = "publisher";
|
|
||||||
@SearchParamDefinition(name="product", path="ConceptMap.element.map.product.element", description="Reference to element/field/valueset mapping depends on", type="uri" )
|
@SearchParamDefinition(name="product", path="ConceptMap.element.map.product.element", description="Reference to element/field/valueset mapping depends on", type="uri" )
|
||||||
public static final String SP_PRODUCT = "product";
|
public static final String SP_PRODUCT = "product";
|
||||||
@SearchParamDefinition(name="system", path="ConceptMap.element.map.codeSystem", description="The system for any destination concepts mapped by this map", type="uri" )
|
@SearchParamDefinition(name="dependson", path="ConceptMap.element.dependsOn.element", description="Reference to element/field/valueset mapping depends on", type="uri" )
|
||||||
public static final String SP_SYSTEM = "system";
|
public static final String SP_DEPENDSON = "dependson";
|
||||||
@SearchParamDefinition(name="source", path="ConceptMap.source[x]", description="The system for any concepts mapped by this concept map", type="reference" )
|
|
||||||
public static final String SP_SOURCE = "source";
|
|
||||||
@SearchParamDefinition(name="description", path="ConceptMap.description", description="Text search in the description of the concept map", type="string" )
|
@SearchParamDefinition(name="description", path="ConceptMap.description", description="Text search in the description of the concept map", type="string" )
|
||||||
public static final String SP_DESCRIPTION = "description";
|
public static final String SP_DESCRIPTION = "description";
|
||||||
|
@SearchParamDefinition(name="source", path="ConceptMap.source[x]", description="The system for any concepts mapped by this concept map", type="reference" )
|
||||||
|
public static final String SP_SOURCE = "source";
|
||||||
|
@SearchParamDefinition(name="version", path="ConceptMap.version", description="The version identifier of the concept map", type="token" )
|
||||||
|
public static final String SP_VERSION = "version";
|
||||||
|
@SearchParamDefinition(name="url", path="ConceptMap.url", description="The url of the concept map", type="uri" )
|
||||||
|
public static final String SP_URL = "url";
|
||||||
|
@SearchParamDefinition(name="target", path="ConceptMap.target[x]", description="Provides context to the mappings", type="reference" )
|
||||||
|
public static final String SP_TARGET = "target";
|
||||||
|
@SearchParamDefinition(name="system", path="ConceptMap.element.map.codeSystem", description="The system for any destination concepts mapped by this map", type="uri" )
|
||||||
|
public static final String SP_SYSTEM = "system";
|
||||||
@SearchParamDefinition(name="name", path="ConceptMap.name", description="Name of the concept map", type="string" )
|
@SearchParamDefinition(name="name", path="ConceptMap.name", description="Name of the concept map", type="string" )
|
||||||
public static final String SP_NAME = "name";
|
public static final String SP_NAME = "name";
|
||||||
@SearchParamDefinition(name="context", path="ConceptMap.useContext", description="A use context assigned to the concept map", type="token" )
|
@SearchParamDefinition(name="context", path="ConceptMap.useContext", description="A use context assigned to the concept map", type="token" )
|
||||||
public static final String SP_CONTEXT = "context";
|
public static final String SP_CONTEXT = "context";
|
||||||
@SearchParamDefinition(name="target", path="ConceptMap.target[x]", description="Provides context to the mappings", type="reference" )
|
@SearchParamDefinition(name="publisher", path="ConceptMap.publisher", description="Name of the publisher of the concept map", type="string" )
|
||||||
public static final String SP_TARGET = "target";
|
public static final String SP_PUBLISHER = "publisher";
|
||||||
@SearchParamDefinition(name="identifier", path="ConceptMap.identifier", description="Additional identifier for the concept map", type="token" )
|
@SearchParamDefinition(name="status", path="ConceptMap.status", description="Status of the concept map", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1819,42 +1798,42 @@ public class Condition extends DomainResource {
|
||||||
return ResourceType.Condition;
|
return ResourceType.Condition;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SearchParamDefinition(name="severity", path="Condition.severity", description="The severity of the condition", type="token" )
|
||||||
|
public static final String SP_SEVERITY = "severity";
|
||||||
|
@SearchParamDefinition(name="clinicalstatus", path="Condition.clinicalStatus", description="The clinical status of the condition", type="token" )
|
||||||
|
public static final String SP_CLINICALSTATUS = "clinicalstatus";
|
||||||
|
@SearchParamDefinition(name="onset-info", path="Condition.onset[x]", description="Other onsets (boolean, age, range, string)", type="string" )
|
||||||
|
public static final String SP_ONSETINFO = "onset-info";
|
||||||
|
@SearchParamDefinition(name="code", path="Condition.code", description="Code for the condition", type="token" )
|
||||||
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="evidence", path="Condition.evidence.code", description="Manifestation/symptom", type="token" )
|
||||||
|
public static final String SP_EVIDENCE = "evidence";
|
||||||
|
@SearchParamDefinition(name="date-asserted", path="Condition.dateAsserted", description="When first detected/suspected/entered", type="date" )
|
||||||
|
public static final String SP_DATEASSERTED = "date-asserted";
|
||||||
|
@SearchParamDefinition(name="subject", path="Condition.patient", description="Who has the condition?", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="dueto-item", path="Condition.dueTo.target", description="Relationship target resource", type="reference" )
|
||||||
|
public static final String SP_DUETOITEM = "dueto-item";
|
||||||
|
@SearchParamDefinition(name="encounter", path="Condition.encounter", description="Encounter when condition first asserted", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="onset", path="Condition.onset[x]", description="Date related onsets (dateTime and Period)", type="date" )
|
||||||
|
public static final String SP_ONSET = "onset";
|
||||||
@SearchParamDefinition(name="asserter", path="Condition.asserter", description="Person who asserts this condition", type="reference" )
|
@SearchParamDefinition(name="asserter", path="Condition.asserter", description="Person who asserts this condition", type="reference" )
|
||||||
public static final String SP_ASSERTER = "asserter";
|
public static final String SP_ASSERTER = "asserter";
|
||||||
@SearchParamDefinition(name="following-code", path="Condition.occurredFollowing.code", description="Relationship target by means of a predefined code", type="token" )
|
@SearchParamDefinition(name="stage", path="Condition.stage.summary", description="Simple summary (disease specific)", type="token" )
|
||||||
public static final String SP_FOLLOWINGCODE = "following-code";
|
public static final String SP_STAGE = "stage";
|
||||||
|
@SearchParamDefinition(name="following-item", path="Condition.occurredFollowing.target", description="Relationship target resource", type="reference" )
|
||||||
|
public static final String SP_FOLLOWINGITEM = "following-item";
|
||||||
|
@SearchParamDefinition(name="patient", path="Condition.patient", description="Who has the condition?", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="dueto-code", path="Condition.dueTo.code", description="Relationship target by means of a predefined code", type="token" )
|
@SearchParamDefinition(name="dueto-code", path="Condition.dueTo.code", description="Relationship target by means of a predefined code", type="token" )
|
||||||
public static final String SP_DUETOCODE = "dueto-code";
|
public static final String SP_DUETOCODE = "dueto-code";
|
||||||
@SearchParamDefinition(name="location", path="Condition.location.site[x]", description="Location - may include laterality", type="token" )
|
@SearchParamDefinition(name="location", path="Condition.location.site[x]", description="Location - may include laterality", type="token" )
|
||||||
public static final String SP_LOCATION = "location";
|
public static final String SP_LOCATION = "location";
|
||||||
@SearchParamDefinition(name="subject", path="Condition.patient", description="Who has the condition?", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="onset", path="Condition.onset[x]", description="Date related onsets (dateTime and Period)", type="date" )
|
|
||||||
public static final String SP_ONSET = "onset";
|
|
||||||
@SearchParamDefinition(name="evidence", path="Condition.evidence.code", description="Manifestation/symptom", type="token" )
|
|
||||||
public static final String SP_EVIDENCE = "evidence";
|
|
||||||
@SearchParamDefinition(name="onset-info", path="Condition.onset[x]", description="Other onsets (boolean, age, range, string)", type="string" )
|
|
||||||
public static final String SP_ONSETINFO = "onset-info";
|
|
||||||
@SearchParamDefinition(name="following-item", path="Condition.occurredFollowing.target", description="Relationship target resource", type="reference" )
|
|
||||||
public static final String SP_FOLLOWINGITEM = "following-item";
|
|
||||||
@SearchParamDefinition(name="severity", path="Condition.severity", description="The severity of the condition", type="token" )
|
|
||||||
public static final String SP_SEVERITY = "severity";
|
|
||||||
@SearchParamDefinition(name="code", path="Condition.code", description="Code for the condition", type="token" )
|
|
||||||
public static final String SP_CODE = "code";
|
|
||||||
@SearchParamDefinition(name="encounter", path="Condition.encounter", description="Encounter when condition first asserted", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="date-asserted", path="Condition.dateAsserted", description="When first detected/suspected/entered", type="date" )
|
|
||||||
public static final String SP_DATEASSERTED = "date-asserted";
|
|
||||||
@SearchParamDefinition(name="stage", path="Condition.stage.summary", description="Simple summary (disease specific)", type="token" )
|
|
||||||
public static final String SP_STAGE = "stage";
|
|
||||||
@SearchParamDefinition(name="category", path="Condition.category", description="The category of the condition", type="token" )
|
@SearchParamDefinition(name="category", path="Condition.category", description="The category of the condition", type="token" )
|
||||||
public static final String SP_CATEGORY = "category";
|
public static final String SP_CATEGORY = "category";
|
||||||
@SearchParamDefinition(name="patient", path="Condition.patient", description="Who has the condition?", type="reference" )
|
@SearchParamDefinition(name="following-code", path="Condition.occurredFollowing.code", description="Relationship target by means of a predefined code", type="token" )
|
||||||
public static final String SP_PATIENT = "patient";
|
public static final String SP_FOLLOWINGCODE = "following-code";
|
||||||
@SearchParamDefinition(name="dueto-item", path="Condition.dueTo.target", description="Relationship target resource", type="reference" )
|
|
||||||
public static final String SP_DUETOITEM = "dueto-item";
|
|
||||||
@SearchParamDefinition(name="clinicalstatus", path="Condition.clinicalStatus", description="The clinical status of the condition", type="token" )
|
|
||||||
public static final String SP_CLINICALSTATUS = "clinicalstatus";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -6140,38 +6119,38 @@ public class Conformance extends DomainResource {
|
||||||
return ResourceType.Conformance;
|
return ResourceType.Conformance;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token" )
|
|
||||||
public static final String SP_RESOURCE = "resource";
|
|
||||||
@SearchParamDefinition(name="security", path="Conformance.rest.security", description="Information about security of implementation", type="token" )
|
|
||||||
public static final String SP_SECURITY = "security";
|
|
||||||
@SearchParamDefinition(name="format", path="Conformance.format", description="formats supported (xml | json | mime type)", type="token" )
|
|
||||||
public static final String SP_FORMAT = "format";
|
|
||||||
@SearchParamDefinition(name="date", path="Conformance.date", description="The conformance statement publication date", type="date" )
|
@SearchParamDefinition(name="date", path="Conformance.date", description="The conformance statement publication date", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="url", path="Conformance.url", description="The uri that identifies the conformance statement", type="uri" )
|
|
||||||
public static final String SP_URL = "url";
|
|
||||||
@SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token" )
|
|
||||||
public static final String SP_VERSION = "version";
|
|
||||||
@SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string" )
|
|
||||||
public static final String SP_PUBLISHER = "publisher";
|
|
||||||
@SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" )
|
|
||||||
public static final String SP_MODE = "mode";
|
|
||||||
@SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string" )
|
@SearchParamDefinition(name="software", path="Conformance.software.name", description="Part of a the name of a software application", type="string" )
|
||||||
public static final String SP_SOFTWARE = "software";
|
public static final String SP_SOFTWARE = "software";
|
||||||
@SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string" )
|
@SearchParamDefinition(name="resource", path="Conformance.rest.resource.type", description="Name of a resource mentioned in a conformance statement", type="token" )
|
||||||
public static final String SP_DESCRIPTION = "description";
|
public static final String SP_RESOURCE = "resource";
|
||||||
@SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token" )
|
|
||||||
public static final String SP_EVENT = "event";
|
|
||||||
@SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string" )
|
|
||||||
public static final String SP_NAME = "name";
|
|
||||||
@SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="Profiles supported by the system", type="reference" )
|
|
||||||
public static final String SP_SUPPORTEDPROFILE = "supported-profile";
|
|
||||||
@SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token" )
|
|
||||||
public static final String SP_FHIRVERSION = "fhirversion";
|
|
||||||
@SearchParamDefinition(name="profile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference" )
|
@SearchParamDefinition(name="profile", path="Conformance.rest.resource.profile", description="A profile id invoked in a conformance statement", type="reference" )
|
||||||
public static final String SP_PROFILE = "profile";
|
public static final String SP_PROFILE = "profile";
|
||||||
|
@SearchParamDefinition(name="format", path="Conformance.format", description="formats supported (xml | json | mime type)", type="token" )
|
||||||
|
public static final String SP_FORMAT = "format";
|
||||||
|
@SearchParamDefinition(name="description", path="Conformance.description", description="Text search in the description of the conformance statement", type="string" )
|
||||||
|
public static final String SP_DESCRIPTION = "description";
|
||||||
|
@SearchParamDefinition(name="fhirversion", path="Conformance.version", description="The version of FHIR", type="token" )
|
||||||
|
public static final String SP_FHIRVERSION = "fhirversion";
|
||||||
|
@SearchParamDefinition(name="version", path="Conformance.version", description="The version identifier of the conformance statement", type="token" )
|
||||||
|
public static final String SP_VERSION = "version";
|
||||||
|
@SearchParamDefinition(name="url", path="Conformance.url", description="The uri that identifies the conformance statement", type="uri" )
|
||||||
|
public static final String SP_URL = "url";
|
||||||
|
@SearchParamDefinition(name="supported-profile", path="Conformance.profile", description="Profiles supported by the system", type="reference" )
|
||||||
|
public static final String SP_SUPPORTEDPROFILE = "supported-profile";
|
||||||
|
@SearchParamDefinition(name="mode", path="Conformance.rest.mode", description="Mode - restful (server/client) or messaging (sender/receiver)", type="token" )
|
||||||
|
public static final String SP_MODE = "mode";
|
||||||
|
@SearchParamDefinition(name="security", path="Conformance.rest.security", description="Information about security of implementation", type="token" )
|
||||||
|
public static final String SP_SECURITY = "security";
|
||||||
|
@SearchParamDefinition(name="name", path="Conformance.name", description="Name of the conformance statement", type="string" )
|
||||||
|
public static final String SP_NAME = "name";
|
||||||
|
@SearchParamDefinition(name="publisher", path="Conformance.publisher", description="Name of the publisher of the conformance statement", type="string" )
|
||||||
|
public static final String SP_PUBLISHER = "publisher";
|
||||||
|
@SearchParamDefinition(name="event", path="Conformance.messaging.event.code", description="Event code in a conformance statement", type="token" )
|
||||||
|
public static final String SP_EVENT = "event";
|
||||||
|
@SearchParamDefinition(name="status", path="Conformance.status", description="The current status of the conformance statement", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,12 +29,12 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
|
|
||||||
public class Constants {
|
public class Constants {
|
||||||
|
|
||||||
public final static String VERSION = "0.5.0";
|
public final static String VERSION = "0.5.0";
|
||||||
public final static String REVISION = "5239";
|
public final static String REVISION = "5283";
|
||||||
public final static String DATE = "Tue May 05 16:13:57 EDT 2015";
|
public final static String DATE = "Fri May 22 17:15:32 EDT 2015";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -3347,16 +3326,16 @@ public class Contract extends DomainResource {
|
||||||
return ResourceType.Contract;
|
return ResourceType.Contract;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="signer", path="Contract.signer.party", description="Contract Signatory Party", type="reference" )
|
|
||||||
public static final String SP_SIGNER = "signer";
|
|
||||||
@SearchParamDefinition(name="patient", path="Contract.subject", description="The identity of the target of the contract (if a patient)", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="subject", path="Contract.subject", description="The identity of the target of the contract", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="actor", path="Contract.actor.entity", description="Contract Actor Type", type="reference" )
|
@SearchParamDefinition(name="actor", path="Contract.actor.entity", description="Contract Actor Type", type="reference" )
|
||||||
public static final String SP_ACTOR = "actor";
|
public static final String SP_ACTOR = "actor";
|
||||||
@SearchParamDefinition(name="identifier", path="Contract.identifier", description="The identity of the contract", type="token" )
|
@SearchParamDefinition(name="identifier", path="Contract.identifier", description="The identity of the contract", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="subject", path="Contract.subject", description="The identity of the target of the contract", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="Contract.subject", description="The identity of the target of the contract (if a patient)", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="signer", path="Contract.signer.party", description="Contract Signatory Party", type="reference" )
|
||||||
|
public static final String SP_SIGNER = "signer";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -862,18 +841,18 @@ public class Contraindication extends DomainResource {
|
||||||
return ResourceType.Contraindication;
|
return ResourceType.Contraindication;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="author", path="Contraindication.author", description="Who found issue?", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="category", path="Contraindication.category", description="E.g. Drug-drug, duplicate therapy, etc.", type="token" )
|
|
||||||
public static final String SP_CATEGORY = "category";
|
|
||||||
@SearchParamDefinition(name="implicated", path="Contraindication.implicated", description="Problem resource", type="reference" )
|
|
||||||
public static final String SP_IMPLICATED = "implicated";
|
|
||||||
@SearchParamDefinition(name="patient", path="Contraindication.patient", description="Associated patient", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="date", path="Contraindication.date", description="When identified", type="date" )
|
@SearchParamDefinition(name="date", path="Contraindication.date", description="When identified", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="identifier", path="Contraindication.identifier", description="Unique id for the contraindication", type="token" )
|
@SearchParamDefinition(name="identifier", path="Contraindication.identifier", description="Unique id for the contraindication", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="patient", path="Contraindication.patient", description="Associated patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="author", path="Contraindication.author", description="Who found issue?", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
@SearchParamDefinition(name="implicated", path="Contraindication.implicated", description="Problem resource", type="reference" )
|
||||||
|
public static final String SP_IMPLICATED = "implicated";
|
||||||
|
@SearchParamDefinition(name="category", path="Contraindication.category", description="E.g. Drug-drug, duplicate therapy, etc.", type="token" )
|
||||||
|
public static final String SP_CATEGORY = "category";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.annotations.Block;
|
import org.hl7.fhir.instance.model.annotations.Block;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -824,22 +803,22 @@ public class Coverage extends DomainResource {
|
||||||
return ResourceType.Coverage;
|
return ResourceType.Coverage;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="plan", path="Coverage.plan", description="A plan or policy identifier", type="token" )
|
|
||||||
public static final String SP_PLAN = "plan";
|
|
||||||
@SearchParamDefinition(name="issuer", path="Coverage.issuer", description="The identity of the insurer", type="reference" )
|
|
||||||
public static final String SP_ISSUER = "issuer";
|
|
||||||
@SearchParamDefinition(name="sequence", path="Coverage.sequence", description="Sequence number", type="token" )
|
|
||||||
public static final String SP_SEQUENCE = "sequence";
|
|
||||||
@SearchParamDefinition(name="dependent", path="Coverage.dependent", description="Dependent number", type="token" )
|
|
||||||
public static final String SP_DEPENDENT = "dependent";
|
|
||||||
@SearchParamDefinition(name="group", path="Coverage.group", description="Group identifier", type="token" )
|
|
||||||
public static final String SP_GROUP = "group";
|
|
||||||
@SearchParamDefinition(name="type", path="Coverage.type", description="The kind of coverage", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="identifier", path="Coverage.identifier", description="The primary identifier of the insured", type="token" )
|
@SearchParamDefinition(name="identifier", path="Coverage.identifier", description="The primary identifier of the insured", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="sequence", path="Coverage.sequence", description="Sequence number", type="token" )
|
||||||
|
public static final String SP_SEQUENCE = "sequence";
|
||||||
@SearchParamDefinition(name="subplan", path="Coverage.subPlan", description="Sub-plan identifier", type="token" )
|
@SearchParamDefinition(name="subplan", path="Coverage.subPlan", description="Sub-plan identifier", type="token" )
|
||||||
public static final String SP_SUBPLAN = "subplan";
|
public static final String SP_SUBPLAN = "subplan";
|
||||||
|
@SearchParamDefinition(name="type", path="Coverage.type", description="The kind of coverage", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="plan", path="Coverage.plan", description="A plan or policy identifier", type="token" )
|
||||||
|
public static final String SP_PLAN = "plan";
|
||||||
|
@SearchParamDefinition(name="dependent", path="Coverage.dependent", description="Dependent number", type="token" )
|
||||||
|
public static final String SP_DEPENDENT = "dependent";
|
||||||
|
@SearchParamDefinition(name="issuer", path="Coverage.issuer", description="The identity of the insurer", type="reference" )
|
||||||
|
public static final String SP_ISSUER = "issuer";
|
||||||
|
@SearchParamDefinition(name="group", path="Coverage.group", description="Group identifier", type="token" )
|
||||||
|
public static final String SP_GROUP = "group";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1472,26 +1451,26 @@ public class DataElement extends DomainResource {
|
||||||
return ResourceType.DataElement;
|
return ResourceType.DataElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="status", path="DataElement.status", description="The current status of the data element", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="description", path="DataElement.element.definition", description="Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.", type="string" )
|
|
||||||
public static final String SP_DESCRIPTION = "description";
|
|
||||||
@SearchParamDefinition(name="name", path="DataElement.name", description="Name of the data element", type="string" )
|
|
||||||
public static final String SP_NAME = "name";
|
|
||||||
@SearchParamDefinition(name="context", path="DataElement.useContext", description="A use context assigned to the data element", type="token" )
|
|
||||||
public static final String SP_CONTEXT = "context";
|
|
||||||
@SearchParamDefinition(name="code", path="DataElement.element.code", description="A code for the data element (server may choose to do subsumption)", type="token" )
|
|
||||||
public static final String SP_CODE = "code";
|
|
||||||
@SearchParamDefinition(name="date", path="DataElement.date", description="The data element publication date", type="date" )
|
@SearchParamDefinition(name="date", path="DataElement.date", description="The data element publication date", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="identifier", path="DataElement.identifier", description="The identifier of the data element", type="token" )
|
@SearchParamDefinition(name="identifier", path="DataElement.identifier", description="The identifier of the data element", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="url", path="DataElement.url", description="The official URL for the data element", type="uri" )
|
@SearchParamDefinition(name="code", path="DataElement.element.code", description="A code for the data element (server may choose to do subsumption)", type="token" )
|
||||||
public static final String SP_URL = "url";
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="name", path="DataElement.name", description="Name of the data element", type="string" )
|
||||||
|
public static final String SP_NAME = "name";
|
||||||
|
@SearchParamDefinition(name="context", path="DataElement.useContext", description="A use context assigned to the data element", type="token" )
|
||||||
|
public static final String SP_CONTEXT = "context";
|
||||||
@SearchParamDefinition(name="publisher", path="DataElement.publisher", description="Name of the publisher of the data element", type="string" )
|
@SearchParamDefinition(name="publisher", path="DataElement.publisher", description="Name of the publisher of the data element", type="string" )
|
||||||
public static final String SP_PUBLISHER = "publisher";
|
public static final String SP_PUBLISHER = "publisher";
|
||||||
|
@SearchParamDefinition(name="description", path="DataElement.element.definition", description="Text search in the description of the data element. This corresponds to the definition of the first DataElement.element.", type="string" )
|
||||||
|
public static final String SP_DESCRIPTION = "description";
|
||||||
@SearchParamDefinition(name="version", path="DataElement.version", description="The version identifier of the data element", type="string" )
|
@SearchParamDefinition(name="version", path="DataElement.version", description="The version identifier of the data element", type="string" )
|
||||||
public static final String SP_VERSION = "version";
|
public static final String SP_VERSION = "version";
|
||||||
|
@SearchParamDefinition(name="url", path="DataElement.url", description="The official URL for the data element", type="uri" )
|
||||||
|
public static final String SP_URL = "url";
|
||||||
|
@SearchParamDefinition(name="status", path="DataElement.status", description="The current status of the data element", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,611 @@
|
||||||
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* HAPI FHIR - Core Library
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2014 - 2015 University Health Network
|
||||||
|
* %%
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
import java.text.ParseException;
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.GregorianCalendar;
|
||||||
|
import java.util.TimeZone;
|
||||||
|
|
||||||
|
import org.hl7.fhir.utilities.Utilities;
|
||||||
|
|
||||||
|
// java 1.7 can parse xml date/times, but going java 1.7 is too hard for implementers
|
||||||
|
// javax.xml.bind.DatatypeConverter can parse xml date/times, but is not available on android. (and it's error message sucks)
|
||||||
|
// anyway, the underlying date/time concept has variable precision, and timezone, and neither Date nor Calendar real with
|
||||||
|
// that nicely. So we parse the date directly
|
||||||
|
|
||||||
|
public class DateAndTime {
|
||||||
|
|
||||||
|
private int year;
|
||||||
|
private int month;
|
||||||
|
private int day;
|
||||||
|
private boolean time;
|
||||||
|
private int hour;
|
||||||
|
private int minute;
|
||||||
|
private boolean seconds;
|
||||||
|
private int second;
|
||||||
|
private int fractions;
|
||||||
|
private int fraction;
|
||||||
|
private java.lang.Boolean timezone;
|
||||||
|
private boolean positiveOffset; //needed to represent negative offset of less than an hour (for example -00:00 or -00:30)
|
||||||
|
private int tzHour;
|
||||||
|
private int tzMin;
|
||||||
|
|
||||||
|
public DateAndTime(String xDate) throws ParseException {
|
||||||
|
|
||||||
|
String s;
|
||||||
|
String t = null;
|
||||||
|
if (xDate.endsWith("Z")) {
|
||||||
|
s = xDate.substring(0, xDate.length()-1);
|
||||||
|
timezone = false;
|
||||||
|
} else if (xDate.lastIndexOf("-") > 8) {
|
||||||
|
s = xDate.substring(0, xDate.lastIndexOf("-"));
|
||||||
|
t = xDate.substring(xDate.lastIndexOf("-"));
|
||||||
|
setTzSign(false);
|
||||||
|
} else if (xDate.lastIndexOf("+") > 8) {
|
||||||
|
s = xDate.substring(0, xDate.lastIndexOf("+"));
|
||||||
|
t = xDate.substring(xDate.lastIndexOf("+"));
|
||||||
|
setTzSign(true);
|
||||||
|
} else { // no timezone
|
||||||
|
s = xDate;
|
||||||
|
t = null;
|
||||||
|
timezone = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
int offset = 0;
|
||||||
|
try {
|
||||||
|
int yearlength = s.startsWith("-") ? s.substring(1).indexOf("-") + 1 : s.indexOf("-");
|
||||||
|
if (yearlength == -1) {
|
||||||
|
yearlength = 4;
|
||||||
|
}
|
||||||
|
setYear(readField(s, 0, yearlength));
|
||||||
|
offset = yearlength;
|
||||||
|
if (s.length() >= yearlength + 3)
|
||||||
|
setMonth(readField(s, yearlength + 1, 2));
|
||||||
|
offset = yearlength + 4;
|
||||||
|
if (s.length() >= yearlength + 6)
|
||||||
|
setDay(readField(s, yearlength + 4, 2));
|
||||||
|
offset = yearlength + 7;
|
||||||
|
if (s.length() >= yearlength + 9)
|
||||||
|
setHour(readField(s, yearlength + 7, 2));
|
||||||
|
offset = yearlength + 10;
|
||||||
|
if (s.length() >= yearlength + 12)
|
||||||
|
setMinute(readField(s, yearlength + 10, 2));
|
||||||
|
offset = yearlength + 13;
|
||||||
|
if (s.length() >= yearlength + 15)
|
||||||
|
setSecond(readField(s, yearlength + 13, 2));
|
||||||
|
offset = yearlength + 16;
|
||||||
|
if (s.length() >= yearlength + 17) {
|
||||||
|
setFractions(s.length() - (yearlength + 16));
|
||||||
|
setFraction(readField(s, yearlength + 16, fractions));
|
||||||
|
}
|
||||||
|
if (t != null) {
|
||||||
|
setTzHour(readField(t, 1, 2));
|
||||||
|
setTzMin(readField(t, 4, 2));
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new ParseException("The date '"+xDate+"' is not a valid Date Time Format at character "+java.lang.Integer.toString(offset), offset);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static int readField(String date, int i, int j) {
|
||||||
|
String s = date.substring(i, i+j);
|
||||||
|
if (s.startsWith("+"))
|
||||||
|
s = s.substring(1);
|
||||||
|
return java.lang.Integer.parseInt(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DateAndTime(Calendar date) {
|
||||||
|
setCalendar(date);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setCalendar(Calendar date) {
|
||||||
|
setYear(date.get(Calendar.YEAR));
|
||||||
|
setMonth(date.get(Calendar.MONTH)+1);
|
||||||
|
setDay(date.get(Calendar.DAY_OF_MONTH));
|
||||||
|
setHour(date.get(Calendar.HOUR_OF_DAY));
|
||||||
|
setMinute(date.get(Calendar.MINUTE));
|
||||||
|
setSecond(date.get(Calendar.SECOND));
|
||||||
|
if (date.get(Calendar.MILLISECOND) > 0) {
|
||||||
|
setFractions(3);
|
||||||
|
try {
|
||||||
|
setFraction(date.get(Calendar.MILLISECOND));
|
||||||
|
} catch (Exception e) {
|
||||||
|
// can't happen
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (date.getTimeZone() != null) {
|
||||||
|
int offset = date.getTimeZone().getOffset(date.getTime().getTime());
|
||||||
|
setOffsetMinutes(offset / 1000 / 60);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public DateAndTime(java.util.Date date) {
|
||||||
|
Calendar cal = new GregorianCalendar();
|
||||||
|
cal.setTime(date);
|
||||||
|
setCalendar(cal);
|
||||||
|
}
|
||||||
|
|
||||||
|
private DateAndTime() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder b = new StringBuilder();
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(year), '0', 4));
|
||||||
|
if (month != 0) {
|
||||||
|
b.append("-");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(month), '0', 2));
|
||||||
|
if (day != 0) {
|
||||||
|
b.append("-");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(day), '0', 2));
|
||||||
|
if (time) {
|
||||||
|
b.append("T");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(hour), '0', 2));
|
||||||
|
b.append(":");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(minute), '0', 2));
|
||||||
|
if (seconds) {
|
||||||
|
b.append(":");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(second), '0', 2));
|
||||||
|
if (fractions > 0) {
|
||||||
|
b.append(".");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(fraction), '0', fractions));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (timezone != null) {
|
||||||
|
if (!timezone) {
|
||||||
|
b.append("Z");
|
||||||
|
} else {
|
||||||
|
if (positiveOffset) {
|
||||||
|
b.append("+");
|
||||||
|
} else {
|
||||||
|
b.append("-");
|
||||||
|
}
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(tzHour), '0', 2));
|
||||||
|
b.append(":");
|
||||||
|
b.append(Utilities.padLeft(java.lang.Integer.toString(tzMin), '0', 2));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return b.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Calendar toCalendar() {
|
||||||
|
Calendar cal = null;
|
||||||
|
if (timezone == null) {
|
||||||
|
cal = Calendar.getInstance();
|
||||||
|
} else {
|
||||||
|
TimeZone tz;
|
||||||
|
if (!timezone) {
|
||||||
|
tz = TimeZone.getTimeZone("GMT+00:00");
|
||||||
|
} else {
|
||||||
|
tz = TimeZone.getTimeZone("GMT"+(positiveOffset ? "+" : "-")+Utilities.padLeft(java.lang.Integer.toString(tzHour), '0', 2)+":"+Utilities.padLeft(java.lang.Integer.toString(tzMin), '0', 2));
|
||||||
|
}
|
||||||
|
cal = Calendar.getInstance(tz);
|
||||||
|
}
|
||||||
|
|
||||||
|
//default to 0 if unset
|
||||||
|
cal.set(Calendar.MONTH, 0);
|
||||||
|
cal.set(Calendar.DAY_OF_MONTH, 1);
|
||||||
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
||||||
|
cal.set(Calendar.MINUTE, 0);
|
||||||
|
cal.set(Calendar.SECOND, 0);
|
||||||
|
cal.set(Calendar.MILLISECOND, 0);
|
||||||
|
|
||||||
|
cal.set(Calendar.YEAR, year);
|
||||||
|
if (month > 0) {
|
||||||
|
cal.set(Calendar.MONTH, month - 1);
|
||||||
|
if (day > 0) {
|
||||||
|
cal.set(Calendar.DAY_OF_MONTH, day);
|
||||||
|
if (time) {
|
||||||
|
cal.set(Calendar.HOUR_OF_DAY, hour);
|
||||||
|
cal.set(Calendar.MINUTE, minute);
|
||||||
|
if (seconds) {
|
||||||
|
cal.set(Calendar.SECOND, second);
|
||||||
|
if (fractions > 0) {
|
||||||
|
cal.set(Calendar.MILLISECOND, (int)((double) fraction / Math.pow(10, fractions) * 1000.0));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return cal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DateType toDate() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getYear() {
|
||||||
|
return year;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setYear(int year) {
|
||||||
|
this.year = year;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getMonth() {
|
||||||
|
return month;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMonth(int month) {
|
||||||
|
this.month = month;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getDay() {
|
||||||
|
return day;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDay(int day) {
|
||||||
|
this.day = day;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isTime() {
|
||||||
|
return time;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTime(boolean time) {
|
||||||
|
this.time = time;
|
||||||
|
if (!time)
|
||||||
|
setSeconds(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getHour() {
|
||||||
|
return hour;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHour(int hour) {
|
||||||
|
this.time = true;
|
||||||
|
this.hour = hour;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getMinute() {
|
||||||
|
return minute;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMinute(int minute) {
|
||||||
|
this.time = true;
|
||||||
|
this.minute = minute;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSeconds() {
|
||||||
|
return seconds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSeconds(boolean seconds) {
|
||||||
|
this.seconds = seconds;
|
||||||
|
if (!seconds)
|
||||||
|
setFractions(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getSecond() {
|
||||||
|
return second;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSecond(int second) {
|
||||||
|
this.time = true;
|
||||||
|
this.seconds = true;
|
||||||
|
this.second = second;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getFractions() {
|
||||||
|
return fractions;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFractions(int fractions) {
|
||||||
|
this.fractions = fractions;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getFraction() {
|
||||||
|
return fraction;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFraction(int fraction) throws Exception {
|
||||||
|
if (this.fractions == 0)
|
||||||
|
throw new Exception("set 'fractions' before setting 'fraction'");
|
||||||
|
|
||||||
|
this.fraction = fraction;
|
||||||
|
}
|
||||||
|
|
||||||
|
public java.lang.Boolean getTimezone() {
|
||||||
|
return timezone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTimezone(java.lang.Boolean timezone) {
|
||||||
|
this.timezone = timezone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTzHour() {
|
||||||
|
return tzHour;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTzHour(int tzHour) {
|
||||||
|
this.tzHour = Math.abs(tzHour);
|
||||||
|
this.timezone = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param isPositiveOffset - true if the tz offset is positive (i.e. +06:00), false if the tz offset is negative (-06:00)
|
||||||
|
*/
|
||||||
|
public void setTzSign(boolean isPositiveOffset) {
|
||||||
|
positiveOffset = isPositiveOffset;
|
||||||
|
this.timezone = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return true if the tz offset is positive (i.e. +06:00), false if the tz offset is negative (-06:00)
|
||||||
|
*/
|
||||||
|
public boolean getTzSign() {
|
||||||
|
return positiveOffset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param offset in minutes
|
||||||
|
*/
|
||||||
|
public void setOffsetMinutes(int offset) {
|
||||||
|
boolean positive = (offset >= 0);
|
||||||
|
offset = Math.abs(offset);
|
||||||
|
setTzHour(offset / 60);
|
||||||
|
setTzMin(offset % 60);
|
||||||
|
setTzSign(positive);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return offset in minutes
|
||||||
|
*/
|
||||||
|
public int getOffsetMinutes() {
|
||||||
|
if(timezone == null || !timezone) {
|
||||||
|
return 0;
|
||||||
|
} else {
|
||||||
|
return (positiveOffset ? 1 : -1) * (tzHour * 60 + tzMin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTzMin() {
|
||||||
|
return tzMin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTzMin(int tzMin) {
|
||||||
|
this.tzMin = Math.abs(tzMin);
|
||||||
|
this.timezone = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DateAndTime now() {
|
||||||
|
return new DateAndTime(Calendar.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DateAndTime today() {
|
||||||
|
DateAndTime dt = new DateAndTime(Calendar.getInstance());
|
||||||
|
dt.setTime(false);
|
||||||
|
return dt;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static DateAndTime parseV3(String xDate) throws ParseException {
|
||||||
|
|
||||||
|
DateAndTime res = new DateAndTime();
|
||||||
|
String s;
|
||||||
|
String t = null;
|
||||||
|
if (xDate.endsWith("Z")) {
|
||||||
|
s = xDate.substring(0, xDate.length()-1);
|
||||||
|
res.timezone = false;
|
||||||
|
} else if (xDate.lastIndexOf("-") > 0) {
|
||||||
|
s = xDate.substring(0, xDate.lastIndexOf("-"));
|
||||||
|
t = xDate.substring(xDate.lastIndexOf("-"));
|
||||||
|
res.setTzSign(false);
|
||||||
|
} else if (xDate.lastIndexOf("+") > 0) {
|
||||||
|
s = xDate.substring(0, xDate.lastIndexOf("+"));
|
||||||
|
t = xDate.substring(xDate.lastIndexOf("+"));
|
||||||
|
res.setTzSign(true);
|
||||||
|
} else { // no timezone
|
||||||
|
s = xDate;
|
||||||
|
t = null;
|
||||||
|
res.timezone = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
int offset = 0;
|
||||||
|
try {
|
||||||
|
res.setYear(readField(s, 0, 4));
|
||||||
|
offset = 4;
|
||||||
|
if (s.length() >= 6)
|
||||||
|
res.setMonth(readField(s, 4, 2));
|
||||||
|
offset = 6;
|
||||||
|
if (s.length() >= 8)
|
||||||
|
res.setDay(readField(s, 6, 2));
|
||||||
|
offset = 8;
|
||||||
|
if (s.length() >= 10)
|
||||||
|
res.setHour(readField(s, 8, 2));
|
||||||
|
offset = 10;
|
||||||
|
if (s.length() >= 12)
|
||||||
|
res.setMinute(readField(s, 10, 2));
|
||||||
|
offset = 12;
|
||||||
|
if (s.length() >= 14)
|
||||||
|
res.setSecond(readField(s, 12, 2));
|
||||||
|
offset = 15;
|
||||||
|
if (s.length() >= 16) {
|
||||||
|
res.setFractions(s.length() - (15));
|
||||||
|
res.setFraction(readField(s, 15, res.fractions));
|
||||||
|
}
|
||||||
|
if (t != null) {
|
||||||
|
res.setTzHour(readField(t, 1, 2));
|
||||||
|
res.setTzMin(readField(t, 3, 2));
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new ParseException("The date '"+xDate+"' is not a valid Date Time Format at character "+java.lang.Integer.toString(offset), offset);
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DateAndTime expandTime() {
|
||||||
|
time = true;
|
||||||
|
seconds = true;
|
||||||
|
timezone = true;
|
||||||
|
TimeZone tz = TimeZone.getDefault();
|
||||||
|
|
||||||
|
int offset = tz.getOffset(new java.util.Date().getTime());
|
||||||
|
setOffsetMinutes(offset / (60 * 1000));
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toHumanDisplay() {
|
||||||
|
if (isTime())
|
||||||
|
return java.lang.Integer.toString(this.day)+"-"+this.getMonthCode()+" "+java.lang.Integer.toString(this.getYear()) +" "+java.lang.Integer.toString(this.hour)+":"+java.lang.Integer.toString(this.minute);
|
||||||
|
else
|
||||||
|
return java.lang.Integer.toString(this.day)+"-"+this.getMonthCode()+" "+java.lang.Integer.toString(this.getYear());
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getMonthCode() {
|
||||||
|
switch (month) {
|
||||||
|
case 1: return "Jan";
|
||||||
|
case 2: return "Feb";
|
||||||
|
case 3: return "Mar";
|
||||||
|
case 4: return "Apr";
|
||||||
|
case 5: return "May";
|
||||||
|
case 6: return "Jun";
|
||||||
|
case 7: return "Jul";
|
||||||
|
case 8: return "Aug";
|
||||||
|
case 9: return "Sep";
|
||||||
|
case 10: return "Oct";
|
||||||
|
case 11: return "Nov";
|
||||||
|
case 12: return "Dec";
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a duration to the DateAndTime. See documentation for Calendar.add
|
||||||
|
*
|
||||||
|
* @param field - Calendar constants for field
|
||||||
|
* @param value - value to add - can be positive or negative
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public void add(int field, int value) throws Exception {
|
||||||
|
switch (field) {
|
||||||
|
case Calendar.YEAR:
|
||||||
|
year = year + value;
|
||||||
|
break;
|
||||||
|
case Calendar.MONTH:
|
||||||
|
month = month + (value == 0 ? 1 : value);
|
||||||
|
while (month <= 0) {
|
||||||
|
add(Calendar.YEAR, -1);
|
||||||
|
month = month + 12;
|
||||||
|
}
|
||||||
|
while (month > 12) {
|
||||||
|
add(Calendar.YEAR, 1);
|
||||||
|
month = month - 12;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case Calendar.DAY_OF_YEAR:
|
||||||
|
day = day + (value == 0 ? 1 : value);
|
||||||
|
while (day <= 0) {
|
||||||
|
add(Calendar.MONTH, -1);
|
||||||
|
day = day + daysInMonth(year, month);
|
||||||
|
}
|
||||||
|
int days = daysInMonth(year, month);
|
||||||
|
while (day > days) {
|
||||||
|
add(Calendar.MONTH, 1);
|
||||||
|
day = day - days;
|
||||||
|
days = daysInMonth(year, month);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case Calendar.HOUR:
|
||||||
|
hour = hour + value;
|
||||||
|
time = true;
|
||||||
|
while (hour < 0) {
|
||||||
|
add(Calendar.DAY_OF_YEAR, -1);
|
||||||
|
hour = hour + 24;
|
||||||
|
}
|
||||||
|
while (hour >= 24) {
|
||||||
|
add(Calendar.DAY_OF_YEAR, 1);
|
||||||
|
hour = hour - 24;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case Calendar.MINUTE:
|
||||||
|
minute = minute + value;
|
||||||
|
time = true;
|
||||||
|
while (minute < 0) {
|
||||||
|
add(Calendar.HOUR, -1);
|
||||||
|
minute = minute + 60;
|
||||||
|
}
|
||||||
|
while (minute >= 60) {
|
||||||
|
add(Calendar.HOUR, 1);
|
||||||
|
minute = minute - 60;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case Calendar.SECOND:
|
||||||
|
second = second + value;
|
||||||
|
seconds = true;
|
||||||
|
while (second < 0) {
|
||||||
|
add(Calendar.MINUTE, -1);
|
||||||
|
second = second + 60;
|
||||||
|
}
|
||||||
|
while (second >= 60) {
|
||||||
|
add(Calendar.MINUTE, 1);
|
||||||
|
second = second - 60;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
throw new Exception("Unknown field");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private int daysInMonth(int aYear, int aMonth) {
|
||||||
|
switch (aMonth) {
|
||||||
|
case 1: return 31;
|
||||||
|
case 2: return isleapYear(aYear) ? 29 : 28;
|
||||||
|
case 3: return 31;
|
||||||
|
case 4: return 30;
|
||||||
|
case 5: return 31;
|
||||||
|
case 6: return 30;
|
||||||
|
case 7: return 31;
|
||||||
|
case 8: return 31;
|
||||||
|
case 9: return 30;
|
||||||
|
case 10: return 31;
|
||||||
|
case 11: return 30;
|
||||||
|
case 12: return 31;
|
||||||
|
default:
|
||||||
|
throw new Error("illegal month "+java.lang.Integer.toString(aMonth));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean isleapYear(int aYear) {
|
||||||
|
return (aYear % 4 == 0) && !((aYear % 100 == 0) && (aYear % 400 != 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean before(DateAndTime other) {
|
||||||
|
|
||||||
|
if(this.time && other.time) {
|
||||||
|
return toCalendar().getTimeInMillis() < other.toCalendar().getTimeInMillis();
|
||||||
|
} else if (this.year != other.year) {
|
||||||
|
return this.year < other.year;
|
||||||
|
} else if (this.month != other.month) {
|
||||||
|
return this.month < other.month;
|
||||||
|
} else if (this.day != other.day) {
|
||||||
|
return this.day < other.day;
|
||||||
|
} else
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -29,27 +29,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
|
@ -29,27 +29,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primitive type "date" in FHIR: any day in a gregorian calendar
|
* Primitive type "date" in FHIR: any day in a gregorian calendar
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -31,27 +31,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.math.MathContext;
|
import java.math.MathContext;
|
||||||
import java.math.RoundingMode;
|
import java.math.RoundingMode;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1061,22 +1040,22 @@ public class Device extends DomainResource {
|
||||||
return ResourceType.Device;
|
return ResourceType.Device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token" )
|
||||||
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="patient", path="Device.patient", description="Patient information, if the resource is affixed to a person", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference" )
|
@SearchParamDefinition(name="organization", path="Device.owner", description="The organization responsible for the device", type="reference" )
|
||||||
public static final String SP_ORGANIZATION = "organization";
|
public static final String SP_ORGANIZATION = "organization";
|
||||||
@SearchParamDefinition(name="model", path="Device.model", description="The model of the device", type="string" )
|
@SearchParamDefinition(name="model", path="Device.model", description="The model of the device", type="string" )
|
||||||
public static final String SP_MODEL = "model";
|
public static final String SP_MODEL = "model";
|
||||||
@SearchParamDefinition(name="patient", path="Device.patient", description="Patient information, if the resource is affixed to a person", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference" )
|
@SearchParamDefinition(name="location", path="Device.location", description="A location, where the resource is found", type="reference" )
|
||||||
public static final String SP_LOCATION = "location";
|
public static final String SP_LOCATION = "location";
|
||||||
@SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string" )
|
|
||||||
public static final String SP_MANUFACTURER = "manufacturer";
|
|
||||||
@SearchParamDefinition(name="udi", path="Device.udi", description="FDA Mandated Unique Device Identifier", type="string" )
|
@SearchParamDefinition(name="udi", path="Device.udi", description="FDA Mandated Unique Device Identifier", type="string" )
|
||||||
public static final String SP_UDI = "udi";
|
public static final String SP_UDI = "udi";
|
||||||
@SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token" )
|
@SearchParamDefinition(name="type", path="Device.type", description="The type of the device", type="token" )
|
||||||
public static final String SP_TYPE = "type";
|
public static final String SP_TYPE = "type";
|
||||||
@SearchParamDefinition(name="identifier", path="Device.identifier", description="Instance id from manufacturer, owner, and others", type="token" )
|
@SearchParamDefinition(name="manufacturer", path="Device.manufacturer", description="The manufacturer of the device", type="string" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_MANUFACTURER = "manufacturer";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -976,10 +955,10 @@ public class DeviceComponent extends DomainResource {
|
||||||
return ResourceType.DeviceComponent;
|
return ResourceType.DeviceComponent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="source", path="DeviceComponent.source", description="The device source", type="reference" )
|
|
||||||
public static final String SP_SOURCE = "source";
|
|
||||||
@SearchParamDefinition(name="parent", path="DeviceComponent.parent", description="The parent DeviceComponent resource", type="reference" )
|
@SearchParamDefinition(name="parent", path="DeviceComponent.parent", description="The parent DeviceComponent resource", type="reference" )
|
||||||
public static final String SP_PARENT = "parent";
|
public static final String SP_PARENT = "parent";
|
||||||
|
@SearchParamDefinition(name="source", path="DeviceComponent.source", description="The device source", type="reference" )
|
||||||
|
public static final String SP_SOURCE = "source";
|
||||||
@SearchParamDefinition(name="type", path="DeviceComponent.type", description="The device component type", type="token" )
|
@SearchParamDefinition(name="type", path="DeviceComponent.type", description="The device component type", type="token" )
|
||||||
public static final String SP_TYPE = "type";
|
public static final String SP_TYPE = "type";
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1389,16 +1368,16 @@ period.)
|
||||||
return ResourceType.DeviceMetric;
|
return ResourceType.DeviceMetric;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="category", path="DeviceMetric.category", description="The category of the metric", type="token" )
|
|
||||||
public static final String SP_CATEGORY = "category";
|
|
||||||
@SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference" )
|
|
||||||
public static final String SP_SOURCE = "source";
|
|
||||||
@SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference" )
|
@SearchParamDefinition(name="parent", path="DeviceMetric.parent", description="The parent DeviceMetric resource", type="reference" )
|
||||||
public static final String SP_PARENT = "parent";
|
public static final String SP_PARENT = "parent";
|
||||||
@SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="identifier", path="DeviceMetric.identifier", description="The identifier of the metric", type="token" )
|
@SearchParamDefinition(name="identifier", path="DeviceMetric.identifier", description="The identifier of the metric", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="source", path="DeviceMetric.source", description="The device resource", type="reference" )
|
||||||
|
public static final String SP_SOURCE = "source";
|
||||||
|
@SearchParamDefinition(name="type", path="DeviceMetric.type", description="The component type", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="category", path="DeviceMetric.category", description="The category of the metric", type="token" )
|
||||||
|
public static final String SP_CATEGORY = "category";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1155,10 +1134,10 @@ public class DeviceUseRequest extends DomainResource {
|
||||||
return ResourceType.DeviceUseRequest;
|
return ResourceType.DeviceUseRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="patient", path="DeviceUseRequest.subject", description="Search by subject - a patient", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="subject", path="DeviceUseRequest.subject", description="Search by subject", type="reference" )
|
@SearchParamDefinition(name="subject", path="DeviceUseRequest.subject", description="Search by subject", type="reference" )
|
||||||
public static final String SP_SUBJECT = "subject";
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="DeviceUseRequest.subject", description="Search by subject - a patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="device", path="DeviceUseRequest.device", description="Device requested", type="reference" )
|
@SearchParamDefinition(name="device", path="DeviceUseRequest.device", description="Device requested", type="reference" )
|
||||||
public static final String SP_DEVICE = "device";
|
public static final String SP_DEVICE = "device";
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -615,10 +594,10 @@ public class DeviceUseStatement extends DomainResource {
|
||||||
return ResourceType.DeviceUseStatement;
|
return ResourceType.DeviceUseStatement;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="patient", path="DeviceUseStatement.subject", description="Search by subject - a patient", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="subject", path="DeviceUseStatement.subject", description="Search by subject", type="reference" )
|
@SearchParamDefinition(name="subject", path="DeviceUseStatement.subject", description="Search by subject", type="reference" )
|
||||||
public static final String SP_SUBJECT = "subject";
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="DeviceUseStatement.subject", description="Search by subject - a patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="device", path="DeviceUseStatement.device", description="Search by device", type="reference" )
|
@SearchParamDefinition(name="device", path="DeviceUseStatement.device", description="Search by device", type="reference" )
|
||||||
public static final String SP_DEVICE = "device";
|
public static final String SP_DEVICE = "device";
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1689,40 +1668,40 @@ public class DiagnosticOrder extends DomainResource {
|
||||||
return ResourceType.DiagnosticOrder;
|
return ResourceType.DiagnosticOrder;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="orderer", path="DiagnosticOrder.orderer", description="Who ordered the test", type="reference" )
|
|
||||||
public static final String SP_ORDERER = "orderer";
|
|
||||||
@SearchParamDefinition(name="status", path="DiagnosticOrder.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="subject", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="item-status", path="DiagnosticOrder.item.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
|
||||||
public static final String SP_ITEMSTATUS = "item-status";
|
|
||||||
@SearchParamDefinition(name="event-status", path="DiagnosticOrder.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
|
||||||
public static final String SP_EVENTSTATUS = "event-status";
|
|
||||||
@SearchParamDefinition(name="actor", path="DiagnosticOrder.event.actor|DiagnosticOrder.item.event.actor", description="Who recorded or did this", type="reference" )
|
|
||||||
public static final String SP_ACTOR = "actor";
|
|
||||||
@SearchParamDefinition(name="code", path="DiagnosticOrder.item.code", description="Code to indicate the item (test or panel) being ordered", type="token" )
|
|
||||||
public static final String SP_CODE = "code";
|
|
||||||
@SearchParamDefinition(name="encounter", path="DiagnosticOrder.encounter", description="The encounter that this diagnostic order is associated with", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="item-past-status", path="DiagnosticOrder.item.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
@SearchParamDefinition(name="item-past-status", path="DiagnosticOrder.item.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
||||||
public static final String SP_ITEMPASTSTATUS = "item-past-status";
|
public static final String SP_ITEMPASTSTATUS = "item-past-status";
|
||||||
@SearchParamDefinition(name="patient", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="bodysite", path="DiagnosticOrder.item.bodySite[x]", description="Location of requested test (if applicable)", type="token" )
|
|
||||||
public static final String SP_BODYSITE = "bodysite";
|
|
||||||
@SearchParamDefinition(name="item-date", path="DiagnosticOrder.item.event.dateTime", description="The date at which the event happened", type="date" )
|
|
||||||
public static final String SP_ITEMDATE = "item-date";
|
|
||||||
@SearchParamDefinition(name="specimen", path="DiagnosticOrder.specimen|DiagnosticOrder.item.specimen", description="If the whole order relates to specific specimens", type="reference" )
|
|
||||||
public static final String SP_SPECIMEN = "specimen";
|
|
||||||
@SearchParamDefinition(name="event-status-date", path="", description="A combination of past-status and date", type="composite" )
|
|
||||||
public static final String SP_EVENTSTATUSDATE = "event-status-date";
|
|
||||||
@SearchParamDefinition(name="event-date", path="DiagnosticOrder.event.dateTime", description="The date at which the event happened", type="date" )
|
|
||||||
public static final String SP_EVENTDATE = "event-date";
|
|
||||||
@SearchParamDefinition(name="identifier", path="DiagnosticOrder.identifier", description="Identifiers assigned to this order", type="token" )
|
@SearchParamDefinition(name="identifier", path="DiagnosticOrder.identifier", description="Identifiers assigned to this order", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="bodysite", path="DiagnosticOrder.item.bodySite[x]", description="Location of requested test (if applicable)", type="token" )
|
||||||
|
public static final String SP_BODYSITE = "bodysite";
|
||||||
|
@SearchParamDefinition(name="code", path="DiagnosticOrder.item.code", description="Code to indicate the item (test or panel) being ordered", type="token" )
|
||||||
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="event-date", path="DiagnosticOrder.event.dateTime", description="The date at which the event happened", type="date" )
|
||||||
|
public static final String SP_EVENTDATE = "event-date";
|
||||||
|
@SearchParamDefinition(name="event-status-date", path="", description="A combination of past-status and date", type="composite" )
|
||||||
|
public static final String SP_EVENTSTATUSDATE = "event-status-date";
|
||||||
|
@SearchParamDefinition(name="subject", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="encounter", path="DiagnosticOrder.encounter", description="The encounter that this diagnostic order is associated with", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="actor", path="DiagnosticOrder.event.actor|DiagnosticOrder.item.event.actor", description="Who recorded or did this", type="reference" )
|
||||||
|
public static final String SP_ACTOR = "actor";
|
||||||
|
@SearchParamDefinition(name="item-date", path="DiagnosticOrder.item.event.dateTime", description="The date at which the event happened", type="date" )
|
||||||
|
public static final String SP_ITEMDATE = "item-date";
|
||||||
@SearchParamDefinition(name="item-status-date", path="", description="A combination of item-past-status and item-date", type="composite" )
|
@SearchParamDefinition(name="item-status-date", path="", description="A combination of item-past-status and item-date", type="composite" )
|
||||||
public static final String SP_ITEMSTATUSDATE = "item-status-date";
|
public static final String SP_ITEMSTATUSDATE = "item-status-date";
|
||||||
|
@SearchParamDefinition(name="event-status", path="DiagnosticOrder.event.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
||||||
|
public static final String SP_EVENTSTATUS = "event-status";
|
||||||
|
@SearchParamDefinition(name="item-status", path="DiagnosticOrder.item.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
||||||
|
public static final String SP_ITEMSTATUS = "item-status";
|
||||||
|
@SearchParamDefinition(name="patient", path="DiagnosticOrder.subject", description="Who and/or what test is about", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="orderer", path="DiagnosticOrder.orderer", description="Who ordered the test", type="reference" )
|
||||||
|
public static final String SP_ORDERER = "orderer";
|
||||||
|
@SearchParamDefinition(name="specimen", path="DiagnosticOrder.specimen|DiagnosticOrder.item.specimen", description="If the whole order relates to specific specimens", type="reference" )
|
||||||
|
public static final String SP_SPECIMEN = "specimen";
|
||||||
|
@SearchParamDefinition(name="status", path="DiagnosticOrder.status", description="proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1430,36 +1409,36 @@ public class DiagnosticReport extends DomainResource {
|
||||||
return ResourceType.DiagnosticReport;
|
return ResourceType.DiagnosticReport;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference" )
|
|
||||||
public static final String SP_RESULT = "result";
|
|
||||||
@SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" )
|
|
||||||
public static final String SP_ISSUED = "issued";
|
|
||||||
@SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token" )
|
|
||||||
public static final String SP_DIAGNOSIS = "diagnosis";
|
|
||||||
@SearchParamDefinition(name="image", path="DiagnosticReport.image.link", description="Reference to the image source", type="reference" )
|
|
||||||
public static final String SP_IMAGE = "image";
|
|
||||||
@SearchParamDefinition(name="encounter", path="DiagnosticReport.encounter", description="The Encounter when the order was made", type="reference" )
|
|
||||||
public static final String SP_ENCOUNTER = "encounter";
|
|
||||||
@SearchParamDefinition(name="date", path="DiagnosticReport.diagnostic[x]", description="The clinically relevant time of the report", type="date" )
|
@SearchParamDefinition(name="date", path="DiagnosticReport.diagnostic[x]", description="The clinically relevant time of the report", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="patient", path="DiagnosticReport.subject", description="The subject of the report if a patient", type="reference" )
|
@SearchParamDefinition(name="identifier", path="DiagnosticReport.identifier", description="An identifier for the report", type="token" )
|
||||||
public static final String SP_PATIENT = "patient";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="image", path="DiagnosticReport.image.link", description="Reference to the image source", type="reference" )
|
||||||
|
public static final String SP_IMAGE = "image";
|
||||||
@SearchParamDefinition(name="request", path="DiagnosticReport.requestDetail", description="What was requested", type="reference" )
|
@SearchParamDefinition(name="request", path="DiagnosticReport.requestDetail", description="What was requested", type="reference" )
|
||||||
public static final String SP_REQUEST = "request";
|
public static final String SP_REQUEST = "request";
|
||||||
|
@SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference" )
|
||||||
|
public static final String SP_PERFORMER = "performer";
|
||||||
|
@SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token" )
|
||||||
|
public static final String SP_DIAGNOSIS = "diagnosis";
|
||||||
|
@SearchParamDefinition(name="encounter", path="DiagnosticReport.encounter", description="The Encounter when the order was made", type="reference" )
|
||||||
|
public static final String SP_ENCOUNTER = "encounter";
|
||||||
|
@SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference" )
|
||||||
|
public static final String SP_RESULT = "result";
|
||||||
|
@SearchParamDefinition(name="service", path="DiagnosticReport.serviceCategory", description="Which diagnostic discipline/department created the report", type="token" )
|
||||||
|
public static final String SP_SERVICE = "service";
|
||||||
|
@SearchParamDefinition(name="patient", path="DiagnosticReport.subject", description="The subject of the report if a patient", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference" )
|
@SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference" )
|
||||||
public static final String SP_SPECIMEN = "specimen";
|
public static final String SP_SPECIMEN = "specimen";
|
||||||
@SearchParamDefinition(name="name", path="DiagnosticReport.name", description="The name of the report (e.g. the code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result)", type="token" )
|
@SearchParamDefinition(name="name", path="DiagnosticReport.name", description="The name of the report (e.g. the code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result)", type="token" )
|
||||||
public static final String SP_NAME = "name";
|
public static final String SP_NAME = "name";
|
||||||
@SearchParamDefinition(name="service", path="DiagnosticReport.serviceCategory", description="Which diagnostic discipline/department created the report", type="token" )
|
@SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" )
|
||||||
public static final String SP_SERVICE = "service";
|
public static final String SP_ISSUED = "issued";
|
||||||
@SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference" )
|
@SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" )
|
||||||
public static final String SP_PERFORMER = "performer";
|
public static final String SP_STATUS = "status";
|
||||||
@SearchParamDefinition(name="identifier", path="DiagnosticReport.identifier", description="An identifier for the report", type="token" )
|
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.annotations.Block;
|
import org.hl7.fhir.instance.model.annotations.Block;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1097,32 +1076,32 @@ public class DocumentManifest extends DomainResource {
|
||||||
return ResourceType.DocumentManifest;
|
return ResourceType.DocumentManifest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="author", path="DocumentManifest.author", description="Who and/or what authored the document", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="relatedref", path="DocumentManifest.related.ref", description="Related Resource", type="reference" )
|
|
||||||
public static final String SP_RELATEDREF = "relatedref";
|
|
||||||
@SearchParamDefinition(name="patient", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="source", path="DocumentManifest.source", description="The source system/application/software", type="uri" )
|
|
||||||
public static final String SP_SOURCE = "source";
|
|
||||||
@SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superceded | entered-in-error", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="created", path="DocumentManifest.created", description="When this document manifest created", type="date" )
|
|
||||||
public static final String SP_CREATED = "created";
|
|
||||||
@SearchParamDefinition(name="description", path="DocumentManifest.description", description="Human-readable description (title)", type="string" )
|
|
||||||
public static final String SP_DESCRIPTION = "description";
|
|
||||||
@SearchParamDefinition(name="subject", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="contentref", path="DocumentManifest.content.pReference", description="Contents of this set of documents", type="reference" )
|
|
||||||
public static final String SP_CONTENTREF = "contentref";
|
|
||||||
@SearchParamDefinition(name="type", path="DocumentManifest.type", description="What kind of document set this is", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="identifier", path="DocumentManifest.masterIdentifier|DocumentManifest.identifier", description="Unique Identifier for the set of documents", type="token" )
|
@SearchParamDefinition(name="identifier", path="DocumentManifest.masterIdentifier|DocumentManifest.identifier", description="Unique Identifier for the set of documents", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference" )
|
@SearchParamDefinition(name="subject", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference" )
|
||||||
public static final String SP_RECIPIENT = "recipient";
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="author", path="DocumentManifest.author", description="Who and/or what authored the document", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
@SearchParamDefinition(name="created", path="DocumentManifest.created", description="When this document manifest created", type="date" )
|
||||||
|
public static final String SP_CREATED = "created";
|
||||||
|
@SearchParamDefinition(name="relatedref", path="DocumentManifest.related.ref", description="Related Resource", type="reference" )
|
||||||
|
public static final String SP_RELATEDREF = "relatedref";
|
||||||
|
@SearchParamDefinition(name="description", path="DocumentManifest.description", description="Human-readable description (title)", type="string" )
|
||||||
|
public static final String SP_DESCRIPTION = "description";
|
||||||
|
@SearchParamDefinition(name="source", path="DocumentManifest.source", description="The source system/application/software", type="uri" )
|
||||||
|
public static final String SP_SOURCE = "source";
|
||||||
|
@SearchParamDefinition(name="type", path="DocumentManifest.type", description="What kind of document set this is", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
@SearchParamDefinition(name="relatedid", path="DocumentManifest.related.identifier", description="Related Identifier", type="token" )
|
@SearchParamDefinition(name="relatedid", path="DocumentManifest.related.identifier", description="Related Identifier", type="token" )
|
||||||
public static final String SP_RELATEDID = "relatedid";
|
public static final String SP_RELATEDID = "relatedid";
|
||||||
|
@SearchParamDefinition(name="patient", path="DocumentManifest.subject", description="The subject of the set of documents", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="recipient", path="DocumentManifest.recipient", description="Intended to get notified about this set of documents", type="reference" )
|
||||||
|
public static final String SP_RECIPIENT = "recipient";
|
||||||
|
@SearchParamDefinition(name="status", path="DocumentManifest.status", description="current | superceded | entered-in-error", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
@SearchParamDefinition(name="contentref", path="DocumentManifest.content.pReference", description="Contents of this set of documents", type="reference" )
|
||||||
|
public static final String SP_CONTENTREF = "contentref";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1846,56 +1825,56 @@ public class DocumentReference extends DomainResource {
|
||||||
return ResourceType.DocumentReference;
|
return ResourceType.DocumentReference;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="location", path="DocumentReference.content.url", description="Uri where the data can be found", type="uri" )
|
|
||||||
public static final String SP_LOCATION = "location";
|
|
||||||
@SearchParamDefinition(name="indexed", path="DocumentReference.indexed", description="When this document reference created", type="date" )
|
|
||||||
public static final String SP_INDEXED = "indexed";
|
|
||||||
@SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superceded | entered-in-error", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="subject", path="DocumentReference.subject", description="Who|what is the subject of the document", type="reference" )
|
@SearchParamDefinition(name="subject", path="DocumentReference.subject", description="Who|what is the subject of the document", type="reference" )
|
||||||
public static final String SP_SUBJECT = "subject";
|
public static final String SP_SUBJECT = "subject";
|
||||||
@SearchParamDefinition(name="relatesto", path="DocumentReference.relatesTo.target", description="Target of the relationship", type="reference" )
|
|
||||||
public static final String SP_RELATESTO = "relatesto";
|
|
||||||
@SearchParamDefinition(name="relation", path="DocumentReference.relatesTo.code", description="replaces | transforms | signs | appends", type="token" )
|
|
||||||
public static final String SP_RELATION = "relation";
|
|
||||||
@SearchParamDefinition(name="class", path="DocumentReference.class", description="Categorization of document", type="token" )
|
|
||||||
public static final String SP_CLASS = "class";
|
|
||||||
@SearchParamDefinition(name="format", path="DocumentReference.format", description="Format/content rules for the document", type="uri" )
|
|
||||||
public static final String SP_FORMAT = "format";
|
|
||||||
@SearchParamDefinition(name="period", path="DocumentReference.context.period", description="Time of service that is being documented", type="date" )
|
|
||||||
public static final String SP_PERIOD = "period";
|
|
||||||
@SearchParamDefinition(name="type", path="DocumentReference.type", description="Kind of document", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="authenticator", path="DocumentReference.authenticator", description="Who/What authenticated the document", type="reference" )
|
|
||||||
public static final String SP_AUTHENTICATOR = "authenticator";
|
|
||||||
@SearchParamDefinition(name="relatedid", path="DocumentReference.context.related.identifier", description="Related Identifier", type="token" )
|
|
||||||
public static final String SP_RELATEDID = "relatedid";
|
|
||||||
@SearchParamDefinition(name="setting", path="DocumentReference.context.practiceSetting", description="Additional details about where the content was created (e.g. clinical specialty)", type="token" )
|
|
||||||
public static final String SP_SETTING = "setting";
|
|
||||||
@SearchParamDefinition(name="relationship", path="", description="Combination of relation and relatesTo", type="composite" )
|
|
||||||
public static final String SP_RELATIONSHIP = "relationship";
|
|
||||||
@SearchParamDefinition(name="author", path="DocumentReference.author", description="Who and/or what authored the document", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="relatedref", path="DocumentReference.context.related.ref", description="Related Resource", type="reference" )
|
|
||||||
public static final String SP_RELATEDREF = "relatedref";
|
|
||||||
@SearchParamDefinition(name="patient", path="DocumentReference.subject", description="Who|what is the subject of the document", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="custodian", path="DocumentReference.custodian", description="Org which maintains the document", type="reference" )
|
|
||||||
public static final String SP_CUSTODIAN = "custodian";
|
|
||||||
@SearchParamDefinition(name="facility", path="DocumentReference.context.facilityType", description="Kind of facility where patient was seen", type="token" )
|
|
||||||
public static final String SP_FACILITY = "facility";
|
|
||||||
@SearchParamDefinition(name="created", path="DocumentReference.created", description="Document creation time", type="date" )
|
|
||||||
public static final String SP_CREATED = "created";
|
|
||||||
@SearchParamDefinition(name="event", path="DocumentReference.context.event", description="Main Clinical Acts Documented", type="token" )
|
|
||||||
public static final String SP_EVENT = "event";
|
|
||||||
@SearchParamDefinition(name="confidentiality", path="DocumentReference.confidentiality", description="Document security-tags", type="token" )
|
@SearchParamDefinition(name="confidentiality", path="DocumentReference.confidentiality", description="Document security-tags", type="token" )
|
||||||
public static final String SP_CONFIDENTIALITY = "confidentiality";
|
public static final String SP_CONFIDENTIALITY = "confidentiality";
|
||||||
@SearchParamDefinition(name="description", path="DocumentReference.description", description="Human-readable description (title)", type="string" )
|
@SearchParamDefinition(name="description", path="DocumentReference.description", description="Human-readable description (title)", type="string" )
|
||||||
public static final String SP_DESCRIPTION = "description";
|
public static final String SP_DESCRIPTION = "description";
|
||||||
@SearchParamDefinition(name="language", path="DocumentReference.content.language", description="Human language of the content (BCP-47)", type="token" )
|
@SearchParamDefinition(name="language", path="DocumentReference.content.language", description="Human language of the content (BCP-47)", type="token" )
|
||||||
public static final String SP_LANGUAGE = "language";
|
public static final String SP_LANGUAGE = "language";
|
||||||
|
@SearchParamDefinition(name="type", path="DocumentReference.type", description="Kind of document", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="relation", path="DocumentReference.relatesTo.code", description="replaces | transforms | signs | appends", type="token" )
|
||||||
|
public static final String SP_RELATION = "relation";
|
||||||
|
@SearchParamDefinition(name="setting", path="DocumentReference.context.practiceSetting", description="Additional details about where the content was created (e.g. clinical specialty)", type="token" )
|
||||||
|
public static final String SP_SETTING = "setting";
|
||||||
|
@SearchParamDefinition(name="relatedid", path="DocumentReference.context.related.identifier", description="Related Identifier", type="token" )
|
||||||
|
public static final String SP_RELATEDID = "relatedid";
|
||||||
|
@SearchParamDefinition(name="patient", path="DocumentReference.subject", description="Who|what is the subject of the document", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="relationship", path="", description="Combination of relation and relatesTo", type="composite" )
|
||||||
|
public static final String SP_RELATIONSHIP = "relationship";
|
||||||
|
@SearchParamDefinition(name="event", path="DocumentReference.context.event", description="Main Clinical Acts Documented", type="token" )
|
||||||
|
public static final String SP_EVENT = "event";
|
||||||
|
@SearchParamDefinition(name="class", path="DocumentReference.class", description="Categorization of document", type="token" )
|
||||||
|
public static final String SP_CLASS = "class";
|
||||||
|
@SearchParamDefinition(name="authenticator", path="DocumentReference.authenticator", description="Who/What authenticated the document", type="reference" )
|
||||||
|
public static final String SP_AUTHENTICATOR = "authenticator";
|
||||||
@SearchParamDefinition(name="identifier", path="DocumentReference.masterIdentifier|DocumentReference.identifier", description="Master Version Specific Identifier", type="token" )
|
@SearchParamDefinition(name="identifier", path="DocumentReference.masterIdentifier|DocumentReference.identifier", description="Master Version Specific Identifier", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="period", path="DocumentReference.context.period", description="Time of service that is being documented", type="date" )
|
||||||
|
public static final String SP_PERIOD = "period";
|
||||||
|
@SearchParamDefinition(name="custodian", path="DocumentReference.custodian", description="Org which maintains the document", type="reference" )
|
||||||
|
public static final String SP_CUSTODIAN = "custodian";
|
||||||
|
@SearchParamDefinition(name="indexed", path="DocumentReference.indexed", description="When this document reference created", type="date" )
|
||||||
|
public static final String SP_INDEXED = "indexed";
|
||||||
|
@SearchParamDefinition(name="author", path="DocumentReference.author", description="Who and/or what authored the document", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
@SearchParamDefinition(name="created", path="DocumentReference.created", description="Document creation time", type="date" )
|
||||||
|
public static final String SP_CREATED = "created";
|
||||||
|
@SearchParamDefinition(name="format", path="DocumentReference.format", description="Format/content rules for the document", type="uri" )
|
||||||
|
public static final String SP_FORMAT = "format";
|
||||||
|
@SearchParamDefinition(name="relatedref", path="DocumentReference.context.related.ref", description="Related Resource", type="reference" )
|
||||||
|
public static final String SP_RELATEDREF = "relatedref";
|
||||||
|
@SearchParamDefinition(name="location", path="DocumentReference.content.url", description="Uri where the data can be found", type="uri" )
|
||||||
|
public static final String SP_LOCATION = "location";
|
||||||
|
@SearchParamDefinition(name="relatesto", path="DocumentReference.relatesTo.target", description="Target of the relationship", type="reference" )
|
||||||
|
public static final String SP_RELATESTO = "relatesto";
|
||||||
|
@SearchParamDefinition(name="facility", path="DocumentReference.context.facilityType", description="Kind of facility where patient was seen", type="token" )
|
||||||
|
public static final String SP_FACILITY = "facility";
|
||||||
|
@SearchParamDefinition(name="status", path="DocumentReference.status", description="current | superceded | entered-in-error", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.annotations.Block;
|
import org.hl7.fhir.instance.model.annotations.Block;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -2585,42 +2564,42 @@ The indication will typically be a Condition (with other resources referenced in
|
||||||
return ResourceType.Encounter;
|
return ResourceType.Encounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="participant-type", path="Encounter.participant.type", description="Role of participant in encounter", type="token" )
|
|
||||||
public static final String SP_PARTICIPANTTYPE = "participant-type";
|
|
||||||
@SearchParamDefinition(name="episodeofcare", path="Encounter.episodeOfCare", description="An episode of care that this encounter should be recorded against", type="reference" )
|
|
||||||
public static final String SP_EPISODEOFCARE = "episodeofcare";
|
|
||||||
@SearchParamDefinition(name="status", path="Encounter.status", description="planned | arrived | in-progress | onleave | finished | cancelled", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="reason", path="Encounter.reason", description="Reason the encounter takes place (code)", type="token" )
|
|
||||||
public static final String SP_REASON = "reason";
|
|
||||||
@SearchParamDefinition(name="location", path="Encounter.location.location", description="Location the encounter takes place", type="reference" )
|
|
||||||
public static final String SP_LOCATION = "location";
|
|
||||||
@SearchParamDefinition(name="fulfills", path="Encounter.fulfills", description="The appointment that scheduled this encounter", type="reference" )
|
|
||||||
public static final String SP_FULFILLS = "fulfills";
|
|
||||||
@SearchParamDefinition(name="indication", path="Encounter.indication", description="Reason the encounter takes place (resource)", type="reference" )
|
|
||||||
public static final String SP_INDICATION = "indication";
|
|
||||||
@SearchParamDefinition(name="date", path="Encounter.period", description="A date within the period the Encounter lasted", type="date" )
|
@SearchParamDefinition(name="date", path="Encounter.period", description="A date within the period the Encounter lasted", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="type", path="Encounter.type", description="Specific type of encounter", type="token" )
|
@SearchParamDefinition(name="identifier", path="Encounter.identifier", description="Identifier(s) by which this encounter is known", type="token" )
|
||||||
public static final String SP_TYPE = "type";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
@SearchParamDefinition(name="special-arrangement", path="Encounter.hospitalization.specialArrangement", description="Wheelchair, translator, stretcher, etc", type="token" )
|
@SearchParamDefinition(name="reason", path="Encounter.reason", description="Reason the encounter takes place (code)", type="token" )
|
||||||
public static final String SP_SPECIALARRANGEMENT = "special-arrangement";
|
public static final String SP_REASON = "reason";
|
||||||
@SearchParamDefinition(name="part-of", path="Encounter.partOf", description="Another Encounter this encounter is part of", type="reference" )
|
@SearchParamDefinition(name="episodeofcare", path="Encounter.episodeOfCare", description="An episode of care that this encounter should be recorded against", type="reference" )
|
||||||
public static final String SP_PARTOF = "part-of";
|
public static final String SP_EPISODEOFCARE = "episodeofcare";
|
||||||
@SearchParamDefinition(name="patient", path="Encounter.patient", description="The patient present at the encounter", type="reference" )
|
@SearchParamDefinition(name="participant-type", path="Encounter.participant.type", description="Role of participant in encounter", type="token" )
|
||||||
public static final String SP_PATIENT = "patient";
|
public static final String SP_PARTICIPANTTYPE = "participant-type";
|
||||||
|
@SearchParamDefinition(name="incomingreferral", path="Encounter.incomingReferralRequest", description="Incoming Referral Request", type="reference" )
|
||||||
|
public static final String SP_INCOMINGREFERRAL = "incomingreferral";
|
||||||
@SearchParamDefinition(name="practitioner", path="Encounter.participant.individual", description="Persons involved in the encounter other than the patient", type="reference" )
|
@SearchParamDefinition(name="practitioner", path="Encounter.participant.individual", description="Persons involved in the encounter other than the patient", type="reference" )
|
||||||
public static final String SP_PRACTITIONER = "practitioner";
|
public static final String SP_PRACTITIONER = "practitioner";
|
||||||
@SearchParamDefinition(name="length", path="Encounter.length", description="Length of encounter in days", type="number" )
|
@SearchParamDefinition(name="length", path="Encounter.length", description="Length of encounter in days", type="number" )
|
||||||
public static final String SP_LENGTH = "length";
|
public static final String SP_LENGTH = "length";
|
||||||
|
@SearchParamDefinition(name="part-of", path="Encounter.partOf", description="Another Encounter this encounter is part of", type="reference" )
|
||||||
|
public static final String SP_PARTOF = "part-of";
|
||||||
|
@SearchParamDefinition(name="type", path="Encounter.type", description="Specific type of encounter", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
@SearchParamDefinition(name="participant", path="Encounter.participant.individual", description="Persons involved in the encounter other than the patient", type="reference" )
|
@SearchParamDefinition(name="participant", path="Encounter.participant.individual", description="Persons involved in the encounter other than the patient", type="reference" )
|
||||||
public static final String SP_PARTICIPANT = "participant";
|
public static final String SP_PARTICIPANT = "participant";
|
||||||
@SearchParamDefinition(name="incomingreferral", path="Encounter.incomingReferralRequest", description="Incoming Referral Request", type="reference" )
|
@SearchParamDefinition(name="patient", path="Encounter.patient", description="The patient present at the encounter", type="reference" )
|
||||||
public static final String SP_INCOMINGREFERRAL = "incomingreferral";
|
public static final String SP_PATIENT = "patient";
|
||||||
@SearchParamDefinition(name="identifier", path="Encounter.identifier", description="Identifier(s) by which this encounter is known", type="token" )
|
@SearchParamDefinition(name="fulfills", path="Encounter.fulfills", description="The appointment that scheduled this encounter", type="reference" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_FULFILLS = "fulfills";
|
||||||
@SearchParamDefinition(name="location-period", path="Encounter.location.period", description="Time period during which the patient was present at the location", type="date" )
|
@SearchParamDefinition(name="location-period", path="Encounter.location.period", description="Time period during which the patient was present at the location", type="date" )
|
||||||
public static final String SP_LOCATIONPERIOD = "location-period";
|
public static final String SP_LOCATIONPERIOD = "location-period";
|
||||||
|
@SearchParamDefinition(name="location", path="Encounter.location.location", description="Location the encounter takes place", type="reference" )
|
||||||
|
public static final String SP_LOCATION = "location";
|
||||||
|
@SearchParamDefinition(name="indication", path="Encounter.indication", description="Reason the encounter takes place (resource)", type="reference" )
|
||||||
|
public static final String SP_INDICATION = "indication";
|
||||||
|
@SearchParamDefinition(name="special-arrangement", path="Encounter.hospitalization.specialArrangement", description="Wheelchair, translator, stretcher, etc", type="token" )
|
||||||
|
public static final String SP_SPECIALARRANGEMENT = "special-arrangement";
|
||||||
|
@SearchParamDefinition(name="status", path="Encounter.status", description="planned | arrived | in-progress | onleave | finished | cancelled", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -635,12 +614,12 @@ public class EnrollmentRequest extends DomainResource {
|
||||||
return ResourceType.EnrollmentRequest;
|
return ResourceType.EnrollmentRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="patient", path="EnrollmentRequest.subject", description="The party to be enrolled", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="subject", path="EnrollmentRequest.subject", description="The party to be enrolled", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="identifier", path="EnrollmentRequest.identifier", description="The business identifier of the Enrollment", type="token" )
|
@SearchParamDefinition(name="identifier", path="EnrollmentRequest.identifier", description="The business identifier of the Enrollment", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="subject", path="EnrollmentRequest.subject", description="The party to be enrolled", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="EnrollmentRequest.subject", description="The party to be enrolled", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
|
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
import org.hl7.fhir.instance.model.annotations.DatatypeDef;
|
||||||
import org.hl7.fhir.instance.model.api.IBaseEnumeration;
|
import org.hl7.fhir.instance.model.api.IBaseEnumeration;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
public class Enumerations {
|
public class Enumerations {
|
||||||
|
|
||||||
public enum ConformanceResourceStatus {
|
public enum ConformanceResourceStatus {
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1227,26 +1206,26 @@ public class EpisodeOfCare extends DomainResource {
|
||||||
return ResourceType.EpisodeOfCare;
|
return ResourceType.EpisodeOfCare;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="organization", path="EpisodeOfCare.managingOrganization", description="The organization that has assumed the specific responsibilities of this EpisodeOfCare", type="reference" )
|
|
||||||
public static final String SP_ORGANIZATION = "organization";
|
|
||||||
@SearchParamDefinition(name="patient", path="EpisodeOfCare.patient", description="The patient that this EpisodeOfCare applies to", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="condition", path="EpisodeOfCare.condition", description="A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for", type="reference" )
|
|
||||||
public static final String SP_CONDITION = "condition";
|
|
||||||
@SearchParamDefinition(name="status", path="EpisodeOfCare.status", description="The current status of the Episode of Care as provided (does not check the status history collection)", type="token" )
|
|
||||||
public static final String SP_STATUS = "status";
|
|
||||||
@SearchParamDefinition(name="care-manager", path="EpisodeOfCare.careManager", description="The practitioner that is the care manager/care co-ordinator for this patient", type="reference" )
|
|
||||||
public static final String SP_CAREMANAGER = "care-manager";
|
|
||||||
@SearchParamDefinition(name="type", path="EpisodeOfCare.type", description="Specific type of EpisodeOfCare", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="date", path="EpisodeOfCare.period", description="The provided date search value falls within the episode of care's period", type="date" )
|
@SearchParamDefinition(name="date", path="EpisodeOfCare.period", description="The provided date search value falls within the episode of care's period", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
@SearchParamDefinition(name="incomingreferral", path="EpisodeOfCare.referralRequest", description="Incoming Referral Request", type="reference" )
|
|
||||||
public static final String SP_INCOMINGREFERRAL = "incomingreferral";
|
|
||||||
@SearchParamDefinition(name="identifier", path="EpisodeOfCare.identifier", description="Identifier(s) by which this EpisodeOfCare is known", type="token" )
|
@SearchParamDefinition(name="identifier", path="EpisodeOfCare.identifier", description="Identifier(s) by which this EpisodeOfCare is known", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="condition", path="EpisodeOfCare.condition", description="A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for", type="reference" )
|
||||||
|
public static final String SP_CONDITION = "condition";
|
||||||
|
@SearchParamDefinition(name="incomingreferral", path="EpisodeOfCare.referralRequest", description="Incoming Referral Request", type="reference" )
|
||||||
|
public static final String SP_INCOMINGREFERRAL = "incomingreferral";
|
||||||
|
@SearchParamDefinition(name="patient", path="EpisodeOfCare.patient", description="The patient that this EpisodeOfCare applies to", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="organization", path="EpisodeOfCare.managingOrganization", description="The organization that has assumed the specific responsibilities of this EpisodeOfCare", type="reference" )
|
||||||
|
public static final String SP_ORGANIZATION = "organization";
|
||||||
@SearchParamDefinition(name="team-member", path="EpisodeOfCare.careTeam.member", description="A Practitioner or Organization allocated to the care team for this EpisodeOfCare", type="reference" )
|
@SearchParamDefinition(name="team-member", path="EpisodeOfCare.careTeam.member", description="A Practitioner or Organization allocated to the care team for this EpisodeOfCare", type="reference" )
|
||||||
public static final String SP_TEAMMEMBER = "team-member";
|
public static final String SP_TEAMMEMBER = "team-member";
|
||||||
|
@SearchParamDefinition(name="type", path="EpisodeOfCare.type", description="Specific type of EpisodeOfCare", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="care-manager", path="EpisodeOfCare.careManager", description="The practitioner that is the care manager/care co-ordinator for this patient", type="reference" )
|
||||||
|
public static final String SP_CAREMANAGER = "care-manager";
|
||||||
|
@SearchParamDefinition(name="status", path="EpisodeOfCare.status", description="The current status of the Episode of Care as provided (does not check the status history collection)", type="token" )
|
||||||
|
public static final String SP_STATUS = "status";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* in a language with helper classes, this would be a helper class (at least, the base exgtension helpers would be)
|
* in a language with helper classes, this would be a helper class (at least, the base exgtension helpers would be)
|
||||||
* @author Grahame
|
* @author Grahame
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -1084,10 +1063,10 @@ public class FamilyMemberHistory extends DomainResource {
|
||||||
return ResourceType.FamilyMemberHistory;
|
return ResourceType.FamilyMemberHistory;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="patient", path="FamilyMemberHistory.patient", description="The identity of a subject to list family member history items for", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="date", path="FamilyMemberHistory.date", description="When history was captured/updated", type="date" )
|
@SearchParamDefinition(name="date", path="FamilyMemberHistory.date", description="When history was captured/updated", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
|
@SearchParamDefinition(name="patient", path="FamilyMemberHistory.patient", description="The identity of a subject to list family member history items for", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,66 @@
|
||||||
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* HAPI FHIR - Core Library
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2014 - 2015 University Health Network
|
||||||
|
* %%
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Copyright (c) 2011+, HL7, Inc
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
* Neither the name of HL7 nor the names of its contributors may be used to
|
||||||
|
endorse or promote products derived from this software without specific
|
||||||
|
prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||||
|
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface to be implemented by all built-in FHIR enumerations (i.e. the
|
||||||
|
* actual FHIR-defined Java Enum will implement this interface)
|
||||||
|
*/
|
||||||
|
public interface FhirEnum {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the XML/JSON representation for an enumerated value
|
||||||
|
* @return the XML/JSON representation
|
||||||
|
*/
|
||||||
|
public String toCode();
|
||||||
|
|
||||||
|
}
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -536,14 +515,14 @@ public class Flag extends DomainResource {
|
||||||
return ResourceType.Flag;
|
return ResourceType.Flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="author", path="Flag.author", description="Flag creator", type="reference" )
|
|
||||||
public static final String SP_AUTHOR = "author";
|
|
||||||
@SearchParamDefinition(name="patient", path="Flag.patient", description="The identity of a subject to list flags for", type="reference" )
|
|
||||||
public static final String SP_PATIENT = "patient";
|
|
||||||
@SearchParamDefinition(name="subject", path="Flag.patient", description="The identity of a subject to list flags for", type="reference" )
|
|
||||||
public static final String SP_SUBJECT = "subject";
|
|
||||||
@SearchParamDefinition(name="date", path="Flag.period", description="Time period when flag is active", type="date" )
|
@SearchParamDefinition(name="date", path="Flag.period", description="Time period when flag is active", type="date" )
|
||||||
public static final String SP_DATE = "date";
|
public static final String SP_DATE = "date";
|
||||||
|
@SearchParamDefinition(name="subject", path="Flag.patient", description="The identity of a subject to list flags for", type="reference" )
|
||||||
|
public static final String SP_SUBJECT = "subject";
|
||||||
|
@SearchParamDefinition(name="patient", path="Flag.patient", description="The identity of a subject to list flags for", type="reference" )
|
||||||
|
public static final String SP_PATIENT = "patient";
|
||||||
|
@SearchParamDefinition(name="author", path="Flag.author", description="Flag creator", type="reference" )
|
||||||
|
public static final String SP_AUTHOR = "author";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -878,24 +857,24 @@ public class Group extends DomainResource {
|
||||||
return ResourceType.Group;
|
return ResourceType.Group;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SearchParamDefinition(name="member", path="Group.member", description="Who or what is in group", type="reference" )
|
|
||||||
public static final String SP_MEMBER = "member";
|
|
||||||
@SearchParamDefinition(name="characteristic-value", path="", description="A composite of both characteristic and value", type="composite" )
|
|
||||||
public static final String SP_CHARACTERISTICVALUE = "characteristic-value";
|
|
||||||
@SearchParamDefinition(name="value", path="Group.characteristic.value[x]", description="Value held by characteristic", type="token" )
|
|
||||||
public static final String SP_VALUE = "value";
|
|
||||||
@SearchParamDefinition(name="actual", path="Group.actual", description="Descriptive or actual", type="token" )
|
@SearchParamDefinition(name="actual", path="Group.actual", description="Descriptive or actual", type="token" )
|
||||||
public static final String SP_ACTUAL = "actual";
|
public static final String SP_ACTUAL = "actual";
|
||||||
@SearchParamDefinition(name="exclude", path="Group.characteristic.exclude", description="Group includes or excludes", type="token" )
|
|
||||||
public static final String SP_EXCLUDE = "exclude";
|
|
||||||
@SearchParamDefinition(name="code", path="Group.code", description="The kind of resources contained", type="token" )
|
|
||||||
public static final String SP_CODE = "code";
|
|
||||||
@SearchParamDefinition(name="characteristic", path="Group.characteristic.code", description="Kind of characteristic", type="token" )
|
|
||||||
public static final String SP_CHARACTERISTIC = "characteristic";
|
|
||||||
@SearchParamDefinition(name="type", path="Group.type", description="The type of resources the group contains", type="token" )
|
|
||||||
public static final String SP_TYPE = "type";
|
|
||||||
@SearchParamDefinition(name="identifier", path="Group.identifier", description="Unique id", type="token" )
|
@SearchParamDefinition(name="identifier", path="Group.identifier", description="Unique id", type="token" )
|
||||||
public static final String SP_IDENTIFIER = "identifier";
|
public static final String SP_IDENTIFIER = "identifier";
|
||||||
|
@SearchParamDefinition(name="characteristic-value", path="", description="A composite of both characteristic and value", type="composite" )
|
||||||
|
public static final String SP_CHARACTERISTICVALUE = "characteristic-value";
|
||||||
|
@SearchParamDefinition(name="code", path="Group.code", description="The kind of resources contained", type="token" )
|
||||||
|
public static final String SP_CODE = "code";
|
||||||
|
@SearchParamDefinition(name="member", path="Group.member", description="Who or what is in group", type="reference" )
|
||||||
|
public static final String SP_MEMBER = "member";
|
||||||
|
@SearchParamDefinition(name="exclude", path="Group.characteristic.exclude", description="Group includes or excludes", type="token" )
|
||||||
|
public static final String SP_EXCLUDE = "exclude";
|
||||||
|
@SearchParamDefinition(name="type", path="Group.type", description="The type of resources the group contains", type="token" )
|
||||||
|
public static final String SP_TYPE = "type";
|
||||||
|
@SearchParamDefinition(name="value", path="Group.characteristic.value[x]", description="Value held by characteristic", type="token" )
|
||||||
|
public static final String SP_VALUE = "value";
|
||||||
|
@SearchParamDefinition(name="characteristic", path="Group.characteristic.code", description="Kind of characteristic", type="token" )
|
||||||
|
public static final String SP_CHARACTERISTIC = "characteristic";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -2054,16 +2033,16 @@ public class HealthcareService extends DomainResource {
|
||||||
|
|
||||||
@SearchParamDefinition(name="servicecategory", path="HealthcareService.serviceCategory", description="Service Category of the Healthcare Service", type="token" )
|
@SearchParamDefinition(name="servicecategory", path="HealthcareService.serviceCategory", description="Service Category of the Healthcare Service", type="token" )
|
||||||
public static final String SP_SERVICECATEGORY = "servicecategory";
|
public static final String SP_SERVICECATEGORY = "servicecategory";
|
||||||
@SearchParamDefinition(name="organization", path="HealthcareService.providedBy", description="The organization that provides this Healthcare Service", type="reference" )
|
|
||||||
public static final String SP_ORGANIZATION = "organization";
|
|
||||||
@SearchParamDefinition(name="servicetype", path="HealthcareService.serviceType.type", description="The type of service provided by this healthcare service", type="token" )
|
@SearchParamDefinition(name="servicetype", path="HealthcareService.serviceType.type", description="The type of service provided by this healthcare service", type="token" )
|
||||||
public static final String SP_SERVICETYPE = "servicetype";
|
public static final String SP_SERVICETYPE = "servicetype";
|
||||||
@SearchParamDefinition(name="location", path="HealthcareService.location", description="The location of the Healthcare Service", type="reference" )
|
@SearchParamDefinition(name="organization", path="HealthcareService.providedBy", description="The organization that provides this Healthcare Service", type="reference" )
|
||||||
public static final String SP_LOCATION = "location";
|
public static final String SP_ORGANIZATION = "organization";
|
||||||
@SearchParamDefinition(name="name", path="HealthcareService.serviceName", description="A portion of the Healthcare service name", type="string" )
|
@SearchParamDefinition(name="name", path="HealthcareService.serviceName", description="A portion of the Healthcare service name", type="string" )
|
||||||
public static final String SP_NAME = "name";
|
public static final String SP_NAME = "name";
|
||||||
@SearchParamDefinition(name="programname", path="HealthcareService.programName", description="One of the Program Names serviced by this HealthcareService", type="string" )
|
@SearchParamDefinition(name="programname", path="HealthcareService.programName", description="One of the Program Names serviced by this HealthcareService", type="string" )
|
||||||
public static final String SP_PROGRAMNAME = "programname";
|
public static final String SP_PROGRAMNAME = "programname";
|
||||||
|
@SearchParamDefinition(name="location", path="HealthcareService.location", description="The location of the Healthcare Service", type="reference" )
|
||||||
|
public static final String SP_LOCATION = "location";
|
||||||
@SearchParamDefinition(name="characteristic", path="HealthcareService.characteristic", description="One of the HealthcareService's characteristics", type="token" )
|
@SearchParamDefinition(name="characteristic", path="HealthcareService.characteristic", description="One of the HealthcareService's characteristics", type="token" )
|
||||||
public static final String SP_CHARACTERISTIC = "characteristic";
|
public static final String SP_CHARACTERISTIC = "characteristic";
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
|
import org.hl7.fhir.instance.model.api.IBaseDatatype;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* HAPI FHIR - Core Library
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2014 - 2015 University Health Network
|
||||||
|
* %%
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
public interface IPrimitiveType<T> extends IBaseDatatype {
|
||||||
|
|
||||||
|
void setValueAsString(String theValue) throws IllegalArgumentException;
|
||||||
|
|
||||||
|
String getValueAsString();
|
||||||
|
|
||||||
|
T getValue();
|
||||||
|
|
||||||
|
IPrimitiveType<T> setValue(T theValue) throws IllegalArgumentException;
|
||||||
|
|
||||||
|
}
|
|
@ -28,27 +28,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
import static org.apache.commons.lang3.StringUtils.*;
|
import static org.apache.commons.lang3.StringUtils.*;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
package org.hl7.fhir.instance.model;
|
package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
/*
|
|
||||||
* #%L
|
|
||||||
* HAPI FHIR Structures - HL7.org DSTU2
|
|
||||||
* %%
|
|
||||||
* Copyright (C) 2014 - 2015 University Health Network
|
|
||||||
* %%
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
* #L%
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright (c) 2011+, HL7, Inc.
|
Copyright (c) 2011+, HL7, Inc.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
@ -50,7 +29,7 @@ package org.hl7.fhir.instance.model;
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Generated on Tue, May 5, 2015 16:13-0400 for FHIR v0.5.0
|
// Generated on Fri, May 22, 2015 17:15-0400 for FHIR v0.5.0
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue