public class Provenance extends BaseResource implements IResource
Definition: Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Provenance
| Modifier and Type | Class and Description |
|---|---|
static class |
Provenance.Agent
Block class for child element: Provenance.agent (Person, organization, records, etc.
|
static class |
Provenance.Entity
Block class for child element: Provenance.entity (An entity used in this activity)
|
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
END
Fluent Client search parameter constant for end
|
static Include |
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_TARGET
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
LOCATION
Fluent Client search parameter constant for location
|
static TokenClientParam |
PARTY
Fluent Client search parameter constant for party
|
static TokenClientParam |
PARTYTYPE
Fluent Client search parameter constant for partytype
|
static String |
SP_END
Search parameter constant for end
|
static String |
SP_LOCATION
Search parameter constant for location
|
static String |
SP_PARTY
Search parameter constant for party
|
static String |
SP_PARTYTYPE
Search parameter constant for partytype
|
static String |
SP_START
Search parameter constant for start
|
static String |
SP_TARGET
Search parameter constant for target
|
static DateClientParam |
START
Fluent Client search parameter constant for start
|
static ReferenceClientParam |
TARGET
Fluent Client search parameter constant for target
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Provenance() |
| Modifier and Type | Method and Description |
|---|---|
Provenance.Agent |
addAgent()
Adds and returns a new value for agent (Person, organization, records, etc.
|
Provenance.Entity |
addEntity()
Adds and returns a new value for entity (An entity used in this activity)
|
UriDt |
addPolicy()
Adds and returns a new value for policy (Policy or plan the activity was defined by)
|
Provenance |
addPolicy(String theUri)
Adds a new value for policy (Policy or plan the activity was defined by)
|
ResourceReferenceDt |
addTarget()
Adds and returns a new value for target (Target resource(s) (usually version specific))
|
List<Provenance.Agent> |
getAgent()
Gets the value(s) for agent (Person, organization, records, etc.
|
Provenance.Agent |
getAgentFirstRep()
Gets the first repetition for agent (Person, organization, records, etc.
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<Provenance.Entity> |
getEntity()
Gets the value(s) for entity (An entity used in this activity).
|
Provenance.Entity |
getEntityFirstRep()
Gets the first repetition for entity (An entity used in this activity),
creating it if it does not already exist.
|
StringDt |
getIntegritySignature()
Gets the value(s) for integritySignature (Base64 signature (DigSig) - integrity check).
|
ResourceReferenceDt |
getLocation()
Gets the value(s) for location (Where the activity occurred, if relevant).
|
PeriodDt |
getPeriod()
Gets the value(s) for period (When the activity occurred).
|
List<UriDt> |
getPolicy()
Gets the value(s) for policy (Policy or plan the activity was defined by).
|
UriDt |
getPolicyFirstRep()
Gets the first repetition for policy (Policy or plan the activity was defined by),
creating it if it does not already exist.
|
CodeableConceptDt |
getReason()
Gets the value(s) for reason (Reason the activity is occurring).
|
InstantDt |
getRecorded()
Gets the value(s) for recorded (When the activity was recorded / updated).
|
List<ResourceReferenceDt> |
getTarget()
Gets the value(s) for target (Target resource(s) (usually version specific)).
|
boolean |
isEmpty() |
Provenance |
setAgent(List<Provenance.Agent> theValue)
Sets the value(s) for agent (Person, organization, records, etc.
|
Provenance |
setEntity(List<Provenance.Entity> theValue)
Sets the value(s) for entity (An entity used in this activity)
|
Provenance |
setIntegritySignature(String theString)
Sets the value for integritySignature (Base64 signature (DigSig) - integrity check)
|
Provenance |
setIntegritySignature(StringDt theValue)
Sets the value(s) for integritySignature (Base64 signature (DigSig) - integrity check)
|
Provenance |
setLocation(ResourceReferenceDt theValue)
Sets the value(s) for location (Where the activity occurred, if relevant)
|
Provenance |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (When the activity occurred)
|
Provenance |
setPolicy(List<UriDt> theValue)
Sets the value(s) for policy (Policy or plan the activity was defined by)
|
Provenance |
setReason(CodeableConceptDt theValue)
Sets the value(s) for reason (Reason the activity is occurring)
|
Provenance |
setRecorded(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for recorded (When the activity was recorded / updated)
|
Provenance |
setRecorded(InstantDt theValue)
Sets the value(s) for recorded (When the activity was recorded / updated)
|
Provenance |
setRecordedWithMillisPrecision(Date theDate)
Sets the value for recorded (When the activity was recorded / updated)
|
Provenance |
setTarget(List<ResourceReferenceDt> theValue)
Sets the value(s) for target (Target resource(s) (usually version specific))
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_TARGET
Description:
Type: reference
Path: Provenance.target
public static final ReferenceClientParam TARGET
Description:
Type: reference
Path: Provenance.target
public static final Include INCLUDE_TARGET
public static final String SP_START
Description:
Type: date
Path: Provenance.period.start
public static final DateClientParam START
Description:
Type: date
Path: Provenance.period.start
public static final String SP_END
Description:
Type: date
Path: Provenance.period.end
public static final DateClientParam END
Description:
Type: date
Path: Provenance.period.end
public static final String SP_LOCATION
Description:
Type: reference
Path: Provenance.location
public static final ReferenceClientParam LOCATION
Description:
Type: reference
Path: Provenance.location
public static final Include INCLUDE_LOCATION
public static final String SP_PARTY
Description:
Type: token
Path: Provenance.agent.reference
public static final TokenClientParam PARTY
Description:
Type: token
Path: Provenance.agent.reference
public static final String SP_PARTYTYPE
Description:
Type: token
Path: Provenance.agent.type
public static final TokenClientParam PARTYTYPE
Description:
Type: token
Path: Provenance.agent.type
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic List<ResourceReferenceDt> getTarget()
null.
Definition: The resource(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity
public Provenance setTarget(List<ResourceReferenceDt> theValue)
Definition: The resource(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity
public ResourceReferenceDt addTarget()
Definition: The resource(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity
public PeriodDt getPeriod()
null.
Definition: The period during which the activity occurred
public Provenance setPeriod(PeriodDt theValue)
Definition: The period during which the activity occurred
public InstantDt getRecorded()
null.
Definition: The instant of time at which the activity was recorded
public Provenance setRecorded(InstantDt theValue)
Definition: The instant of time at which the activity was recorded
public Provenance setRecorded(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The instant of time at which the activity was recorded
public Provenance setRecordedWithMillisPrecision(Date theDate)
Definition: The instant of time at which the activity was recorded
public CodeableConceptDt getReason()
null.
Definition: The reason that the activity was taking place
public Provenance setReason(CodeableConceptDt theValue)
Definition: The reason that the activity was taking place
public ResourceReferenceDt getLocation()
null.
Definition: Where the activity occurred, if relevant
public Provenance setLocation(ResourceReferenceDt theValue)
Definition: Where the activity occurred, if relevant
public List<UriDt> getPolicy()
null.
Definition: Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
public Provenance setPolicy(List<UriDt> theValue)
Definition: Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
public UriDt addPolicy()
Definition: Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
public UriDt getPolicyFirstRep()
Definition: Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
public Provenance addPolicy(String theUri)
Definition: Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
public List<Provenance.Agent> getAgent()
null.
Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility
public Provenance setAgent(List<Provenance.Agent> theValue)
Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility
public Provenance.Agent addAgent()
Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility
public Provenance.Agent getAgentFirstRep()
Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility
public List<Provenance.Entity> getEntity()
null.
Definition: An entity used in this activity
public Provenance setEntity(List<Provenance.Entity> theValue)
Definition: An entity used in this activity
public Provenance.Entity addEntity()
Definition: An entity used in this activity
public Provenance.Entity getEntityFirstRep()
Definition: An entity used in this activity
public StringDt getIntegritySignature()
null.
Definition: A digital signature on the target resource(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.
public Provenance setIntegritySignature(StringDt theValue)
Definition: A digital signature on the target resource(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.
public Provenance setIntegritySignature(String theString)
Definition: A digital signature on the target resource(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.
Copyright © 2014 University Health Network. All rights reserved.