public class Provenance extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Provenance.ProvenanceAgentComponent |
static class |
Provenance.ProvenanceAgentRelatedAgentComponent |
static class |
Provenance.ProvenanceEntityComponent |
static class |
Provenance.ProvenanceEntityRole |
static class |
Provenance.ProvenanceEntityRoleEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
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.
|
protected List<Provenance.ProvenanceAgentComponent> |
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.
|
protected List<Provenance.ProvenanceEntityComponent> |
entity
An entity used in this activity.
|
protected Reference |
location
Where the activity occurred, if relevant.
|
protected Location |
locationTarget
The actual object that is the target of the reference (Where the activity occurred, if relevant.)
|
protected Period |
period
The period during which the activity occurred.
|
protected List<UriType> |
policy
Policy or plan the activity was defined by.
|
protected List<CodeableConcept> |
reason
The reason that the activity was taking place.
|
protected InstantType |
recorded
The instant of time at which the activity was recorded.
|
protected List<Signature> |
signature
A digital signature on the target Reference(s).
|
static String |
SP_AGENT |
static String |
SP_END |
static String |
SP_ENTITY |
static String |
SP_ENTITYTYPE |
static String |
SP_LOCATION |
static String |
SP_PATIENT |
static String |
SP_SIGTYPE |
static String |
SP_START |
static String |
SP_TARGET |
static String |
SP_USERID |
protected List<Reference> |
target
The Reference(s) that were generated or updated by the activity described in this resource.
|
protected List<Resource> |
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.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Provenance() |
Provenance(InstantType recorded) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Reference> target
protected List<Resource> targetTarget
protected InstantType recorded
protected List<CodeableConcept> reason
protected CodeableConcept activity
protected Location locationTarget
protected List<UriType> policy
protected List<Provenance.ProvenanceAgentComponent> agent
protected List<Provenance.ProvenanceEntityComponent> entity
protected List<Signature> signature
public static final String SP_SIGTYPE
public static final String SP_AGENT
public static final String SP_ENTITYTYPE
public static final String SP_PATIENT
public static final String SP_START
public static final String SP_END
public static final String SP_LOCATION
public static final String SP_USERID
public static final String SP_ENTITY
public static final String SP_TARGET
public Provenance()
public Provenance(InstantType recorded)
public List<Reference> getTarget()
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.)public boolean hasTarget()
public Reference addTarget()
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.)public Provenance addTarget(Reference t)
public List<Resource> getTargetTarget()
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.)public Period getPeriod()
period (The period during which the activity occurred.)public boolean hasPeriod()
public Provenance setPeriod(Period value)
value - period (The period during which the activity occurred.)public InstantType getRecordedElement()
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 valuepublic boolean hasRecordedElement()
public boolean hasRecorded()
public Provenance setRecordedElement(InstantType value)
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 valuepublic Date getRecorded()
public Provenance setRecorded(Date value)
value - The instant of time at which the activity was recorded.public List<CodeableConcept> getReason()
reason (The reason that the activity was taking place.)public boolean hasReason()
public CodeableConcept addReason()
reason (The reason that the activity was taking place.)public Provenance addReason(CodeableConcept t)
public CodeableConcept getActivity()
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.)public boolean hasActivity()
public Provenance setActivity(CodeableConcept value)
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.)public Reference getLocation()
location (Where the activity occurred, if relevant.)public boolean hasLocation()
public Provenance setLocation(Reference value)
value - location (Where the activity occurred, if relevant.)public Location getLocationTarget()
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.)public Provenance setLocationTarget(Location value)
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.)public List<UriType> getPolicy()
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.)public boolean hasPolicy()
public UriType addPolicyElement()
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.)public Provenance addPolicy(String value)
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.)public boolean hasPolicy(String value)
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.)public List<Provenance.ProvenanceAgentComponent> getAgent()
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.)public boolean hasAgent()
public Provenance.ProvenanceAgentComponent addAgent()
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.)public Provenance addAgent(Provenance.ProvenanceAgentComponent t)
public List<Provenance.ProvenanceEntityComponent> getEntity()
entity (An entity used in this activity.)public boolean hasEntity()
public Provenance.ProvenanceEntityComponent addEntity()
entity (An entity used in this activity.)public Provenance addEntity(Provenance.ProvenanceEntityComponent t)
public List<Signature> getSignature()
signature (A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.)public boolean hasSignature()
public Signature addSignature()
signature (A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.)public Provenance addSignature(Signature t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Provenance copy()
copy in class DomainResourceprotected Provenance typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.