
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptAn 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.ReferenceClientParamFluent Client search parameter constant for agentstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for agent-rolestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for agent-typeprotected List<Provenance.ProvenanceEntityComponent> An entity used in this activity.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for entitystatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.protected ReferenceWhere the activity occurred, if relevant.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for locationprotected LocationThe actual object that is the target of the reference (Where the activity occurred, if relevant.)protected TypeThe period during which the activity occurred.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientPolicy or plan the activity was defined by.protected List<CodeableConcept> The reason that the activity was taking place.protected InstantTypeThe instant of time at which the activity was recorded.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for recordedA digital signature on the target Reference(s).static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for signature-typestatic final StringSearch parameter: agentstatic final StringSearch parameter: agent-rolestatic final StringSearch parameter: agent-typestatic final StringSearch parameter: entitystatic final StringSearch parameter: locationstatic final StringSearch parameter: patientstatic final StringSearch parameter: recordedstatic final StringSearch parameter: signature-typestatic final StringSearch parameter: targetstatic final StringSearch parameter: whenThe Reference(s) that were generated or updated by the activity described in this resource.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent 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.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for whenFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgent()copy()voidcopyValues(Provenance dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getAgent()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanhasAgent()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setActivity(CodeableConcept value) setAgent(List<Provenance.ProvenanceAgentComponent> theAgent) setEntity(List<Provenance.ProvenanceEntityComponent> theEntity) setLocation(Reference value) setLocationTarget(Location value) setOccurred(Type value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setReason(List<CodeableConcept> theReason) setRecorded(Date value) setRecordedElement(InstantType value) setSignature(List<Signature> theSignature) protected ProvenanceMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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.) -
occurred
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_AGENT_TYPE
Search parameter: agent-typeDescription: How the agent participated
Type: token
Path: Provenance.agent.type
- See Also:
-
AGENT_TYPE
Fluent Client search parameter constant for agent-typeDescription: How the agent participated
Type: token
Path: Provenance.agent.type
-
SP_AGENT
Search parameter: agentDescription: Who participated
Type: reference
Path: Provenance.agent.who
- See Also:
-
AGENT
Fluent Client search parameter constant for agentDescription: Who participated
Type: reference
Path: Provenance.agent.who
-
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_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_WHEN
Search parameter: whenDescription: When the activity occurred
Type: date
Path: Provenance.occurredDateTime
- See Also:
-
WHEN
Fluent Client search parameter constant for whenDescription: When the activity occurred
Type: date
Path: Provenance.occurredDateTime
-
SP_ENTITY
Search parameter: entityDescription: Identity of entity
Type: reference
Path: Provenance.entity.what
- See Also:
-
ENTITY
Fluent Client search parameter constant for entityDescription: Identity of entity
Type: reference
Path: Provenance.entity.what
-
INCLUDE_ENTITY
Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:entity". -
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
thisfor easy method chaining
-
hasTarget
-
addTarget
-
addTarget
-
getTargetFirstRep
- Returns:
- The first repetition of repeating field
target, creating it if it does not already exist
-
getOccurred
- Returns:
occurred(The period during which the activity occurred.)
-
getOccurredPeriod
- Returns:
occurred(The period during which the activity occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurredPeriod
-
getOccurredDateTimeType
- Returns:
occurred(The period during which the activity occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurredDateTimeType
-
hasOccurred
-
setOccurred
- Parameters:
value-occurred(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
thisfor 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:
locationThe 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-locationThe 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
thisfor 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
thisfor 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
thisfor 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
thisfor 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-