Package org.hl7.fhir.dstu2.model
Class Provenance
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Provenance
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
Provenance of a resource is a record that describes entities and processes
involved in producing and delivering or otherwise influencing that resource.
Provenance provides a critical foundation for assessing authenticity,
enabling trust, and allowing reproducibility. Provenance assertions are a
form of contextual metadata and can themselves become important records with
their own provenance. Provenance statement indicates clinical significance in
terms of confidence in authenticity, reliability, and trustworthiness,
integrity, and stage in lifecycle (e.g. Document Completion - has the
artifact been legally authenticated), all of which may impact security,
privacy, and trust policies.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.protected List
<Provenance.ProvenanceAgentComponent> An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place.protected List
<Provenance.ProvenanceEntityComponent> An entity used in this activity.protected Reference
Where the activity occurred, if relevant.protected Location
The actual object that is the target of the reference (Where the activity occurred, if relevant.)protected Period
The period during which the activity occurred.Policy or plan the activity was defined by.protected List
<CodeableConcept> The reason that the activity was taking place.protected InstantType
The instant of time at which the activity was recorded.A digital signature on the target Reference(s).static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The Reference(s) that were generated or updated by the activity described in this resource.The actual objects that are the target of the reference (The Reference(s) that were generated or updated by the activity described in this resource.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAgent()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getAgent()
boolean
boolean
hasAgent()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setActivity
(CodeableConcept value) setLocation
(Reference value) setLocationTarget
(Location value) void
setProperty
(String name, Base value) setRecorded
(Date value) setRecordedElement
(InstantType value) protected Provenance
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
target
The Reference(s) that were generated or updated 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. -
targetTarget
The actual objects that are the target of the reference (The Reference(s) that were generated or updated 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.) -
period
The period during which the activity occurred. -
recorded
The instant of time at which the activity was recorded. -
reason
The reason that the activity was taking place. -
activity
An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities. -
location
Where the activity occurred, if relevant. -
locationTarget
The actual object that is the target of the reference (Where the activity occurred, if relevant.) -
policy
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. -
agent
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, an organization, software, or other entities that may be ascribed responsibility. -
entity
An entity used in this activity. -
signature
A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. -
SP_SIGTYPE
- See Also:
-
SP_AGENT
- See Also:
-
SP_ENTITYTYPE
- See Also:
-
SP_PATIENT
- See Also:
-
SP_START
- See Also:
-
SP_END
- See Also:
-
SP_LOCATION
- See Also:
-
SP_USERID
- See Also:
-
SP_ENTITY
- See Also:
-
SP_TARGET
- See Also:
-
-
Constructor Details
-
Provenance
public Provenance() -
Provenance
-
-
Method Details
-
getTarget
- Returns:
target
(The Reference(s) that were generated or updated 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.)
-
hasTarget
-
addTarget
- Returns:
target
(The Reference(s) that were generated or updated 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.)
-
addTarget
-
getTargetTarget
- Returns:
target
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. The Reference(s) that were generated or updated 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.)
-
getPeriod
- Returns:
period
(The period during which the activity occurred.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(The period during which the activity occurred.)
-
getRecordedElement
- Returns:
recorded
(The instant of time at which the activity was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
hasRecordedElement
-
hasRecorded
-
setRecordedElement
- Parameters:
value
-recorded
(The instant of time at which the activity was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
getRecorded
- Returns:
- The instant of time at which the activity was recorded.
-
setRecorded
- Parameters:
value
- The instant of time at which the activity was recorded.
-
getReason
- Returns:
reason
(The reason that the activity was taking place.)
-
hasReason
-
addReason
- Returns:
reason
(The reason that the activity was taking place.)
-
addReason
-
getActivity
- Returns:
activity
(An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.)
-
hasActivity
-
setActivity
- Parameters:
value
-activity
(An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.)
-
getLocation
- Returns:
location
(Where the activity occurred, if relevant.)
-
hasLocation
-
setLocation
- Parameters:
value
-location
(Where the activity occurred, if relevant.)
-
getLocationTarget
- Returns:
location
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Where the activity occurred, if relevant.)
-
setLocationTarget
- Parameters:
value
-location
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Where the activity occurred, if relevant.)
-
getPolicy
- Returns:
policy
(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.)
-
hasPolicy
-
addPolicyElement
- Returns:
policy
(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.)
-
addPolicy
- Parameters:
value
-policy
(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.)
-
hasPolicy
- Parameters:
value
-policy
(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.)
-
getAgent
- Returns:
agent
(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, an organization, software, or other entities that may be ascribed responsibility.)
-
hasAgent
-
addAgent
- Returns:
agent
(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, an organization, software, or other entities that may be ascribed responsibility.)
-
addAgent
-
getEntity
- Returns:
entity
(An entity used in this activity.)
-
hasEntity
-
addEntity
- Returns:
entity
(An entity used in this activity.)
-
addEntity
-
getSignature
- Returns:
signature
(A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.)
-
hasSignature
-
addSignature
- Returns:
signature
(A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.)
-
addSignature
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-