Class 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Coding
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 actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for agentstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for agent-rolestatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for endprotected List
<Provenance.ProvenanceEntityComponent> An entity used in this activity.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for entity-idstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for entity-refstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected Reference
Where the activity occurred, if relevant.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for locationprotected Location
The actual object that is the target of the reference (Where the activity occurred, if relevant.)static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientprotected Period
The period during which the activity occurred.Policy or plan the activity was defined by.The reason that the activity was taking place.protected InstantType
The instant of time at which the activity was recorded.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for recordedA digital signature on the target Reference(s).static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for signature-typestatic final String
Search parameter: agentstatic final String
Search parameter: agent-rolestatic final String
Search parameter: endstatic final String
Search parameter: entity-idstatic final String
Search parameter: entity-refstatic final String
Search parameter: locationstatic final String
Search parameter: patientstatic final String
Search parameter: recordedstatic final String
Search parameter: signature-typestatic final String
Search parameter: startstatic final String
Search parameter: targetstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for startThe Reference(s) that were generated or updated by the activity described in this resource.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for targetThe 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.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadString[]
getTypesForProperty
(int hash, String name) boolean
boolean
hasAgent()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setActivity
(Coding value) setAgent
(List<Provenance.ProvenanceAgentComponent> theAgent) setEntity
(List<Provenance.ProvenanceEntityComponent> theEntity) setLocation
(Reference value) setLocationTarget
(Location value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setRecorded
(Date value) setRecordedElement
(InstantType value) setSignature
(List<Signature> theSignature) protected Provenance
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, 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. -
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. -
location
Where the activity occurred, if relevant. -
locationTarget
The actual object that is the target of the reference (Where the activity occurred, if relevant.) -
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. -
agent
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place. -
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_ENTITY_REF
Search parameter: entity-refDescription: Identity of entity
Type: reference
Path: Provenance.entity.whatReference
- See Also:
-
ENTITY_REF
Fluent Client search parameter constant for entity-refDescription: Identity of entity
Type: reference
Path: Provenance.entity.whatReference
-
INCLUDE_ENTITY_REF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:entity-ref". -
SP_AGENT
Search parameter: agentDescription: Who participated
Type: reference
Path: Provenance.agent.who[x]
- See Also:
-
AGENT
Fluent Client search parameter constant for agentDescription: Who participated
Type: reference
Path: Provenance.agent.who[x]
-
INCLUDE_AGENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:agent". -
SP_SIGNATURE_TYPE
Search parameter: signature-typeDescription: Indication of the reason the entity signed the object(s)
Type: token
Path: Provenance.signature.type
- See Also:
-
SIGNATURE_TYPE
Fluent Client search parameter constant for signature-typeDescription: Indication of the reason the entity signed the object(s)
Type: token
Path: Provenance.signature.type
-
SP_PATIENT
Search parameter: patientDescription: Target Reference(s) (usually version specific)
Type: reference
Path: Provenance.target
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Target Reference(s) (usually version specific)
Type: reference
Path: Provenance.target
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:patient". -
SP_START
Search parameter: startDescription: Starting time with inclusive boundary
Type: date
Path: Provenance.period.start
- See Also:
-
START
Fluent Client search parameter constant for startDescription: Starting time with inclusive boundary
Type: date
Path: Provenance.period.start
-
SP_END
Search parameter: endDescription: End time with inclusive boundary, if not ongoing
Type: date
Path: Provenance.period.end
- See Also:
-
END
Fluent Client search parameter constant for endDescription: End time with inclusive boundary, if not ongoing
Type: date
Path: Provenance.period.end
-
SP_LOCATION
Search parameter: locationDescription: Where the activity occurred, if relevant
Type: reference
Path: Provenance.location
- See Also:
-
LOCATION
Fluent Client search parameter constant for locationDescription: Where the activity occurred, if relevant
Type: reference
Path: Provenance.location
-
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:location". -
SP_RECORDED
Search parameter: recordedDescription: When the activity was recorded / updated
Type: date
Path: Provenance.recorded
- See Also:
-
RECORDED
Fluent Client search parameter constant for recordedDescription: When the activity was recorded / updated
Type: date
Path: Provenance.recorded
-
SP_AGENT_ROLE
Search parameter: agent-roleDescription: What the agents role was
Type: token
Path: Provenance.agent.role
- See Also:
-
AGENT_ROLE
Fluent Client search parameter constant for agent-roleDescription: What the agents role was
Type: token
Path: Provenance.agent.role
-
SP_ENTITY_ID
Search parameter: entity-idDescription: Identity of entity
Type: token
Path: Provenance.entity.whatIdentifier
- See Also:
-
ENTITY_ID
Fluent Client search parameter constant for entity-idDescription: Identity of entity
Type: token
Path: Provenance.entity.whatIdentifier
-
SP_TARGET
Search parameter: targetDescription: Target Reference(s) (usually version specific)
Type: reference
Path: Provenance.target
- See Also:
-
TARGET
Fluent Client search parameter constant for targetDescription: Target Reference(s) (usually version specific)
Type: reference
Path: Provenance.target
-
INCLUDE_TARGET
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:target".
-
-
Constructor Details
-
Provenance
public Provenance()Constructor -
Provenance
Constructor
-
-
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.)
-
setTarget
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTarget
-
addTarget
-
addTarget
-
getTargetFirstRep
- Returns:
- The first repetition of repeating field
target
, creating it if it does not already exist
-
getTargetTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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.
-
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.)
-
setPolicy
- Returns:
- Returns a reference to
this
for easy method chaining
-
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.)
-
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.)
-
getReason
- Returns:
reason
(The reason that the activity was taking place.)
-
setReason
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReason
-
addReason
-
addReason
-
getReasonFirstRep
- Returns:
- The first repetition of repeating field
reason
, creating it if it does not already exist
-
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.)
-
getAgent
- Returns:
agent
(An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.)
-
setAgent
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAgent
-
addAgent
-
addAgent
-
getAgentFirstRep
- Returns:
- The first repetition of repeating field
agent
, creating it if it does not already exist
-
getEntity
- Returns:
entity
(An entity used in this activity.)
-
setEntity
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEntity
-
addEntity
-
addEntity
-
getEntityFirstRep
- Returns:
- The first repetition of repeating field
entity
, creating it if it does not already exist
-
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.)
-
setSignature
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSignature
-
addSignature
-
addSignature
-
getSignatureFirstRep
- Returns:
- The first repetition of repeating field
signature
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
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
-