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

    public class Provenance
    extends DomainResource
    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:
    Serialized Form
    • Field Detail

      • target

        protected List<Reference> 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

        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. A provenance can point to more than one target if multiple resources were created/updated by the same activity.)
      • period

        protected Period period
        The period during which the activity occurred.
      • recorded

        protected InstantType recorded
        The instant of time at which the activity was recorded.
      • reason

        protected List<Coding> reason
        The reason that the activity was taking place.
      • activity

        protected Coding 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.
      • locationTarget

        protected Location locationTarget
        The actual object that is the target of the reference (Where the activity occurred, if relevant.)
      • policy

        protected List<UriType> 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.
      • signature

        protected List<Signature> signature
        A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.
      • SP_PATIENT

        public static final String SP_PATIENT
        Search parameter: patient

        Description: Target Reference(s) (usually version specific)
        Type: reference
        Path: Provenance.target

        See Also:
        Constant Field Values
      • PATIENT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
        Fluent Client search parameter constant for patient

        Description: Target Reference(s) (usually version specific)
        Type: reference
        Path: Provenance.target

      • INCLUDE_PATIENT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:patient".
      • SP_LOCATION

        public static final String SP_LOCATION
        Search parameter: location

        Description: Where the activity occurred, if relevant
        Type: reference
        Path: Provenance.location

        See Also:
        Constant Field Values
      • LOCATION

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
        Fluent Client search parameter constant for location

        Description: Where the activity occurred, if relevant
        Type: reference
        Path: Provenance.location

      • INCLUDE_LOCATION

        public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
        Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:location".
      • SP_START

        public static final String SP_START
        Search parameter: start

        Description: Starting time with inclusive boundary
        Type: date
        Path: Provenance.period.start

        See Also:
        Constant Field Values
      • START

        public static final ca.uhn.fhir.rest.gclient.DateClientParam START
        Fluent Client search parameter constant for start

        Description: Starting time with inclusive boundary
        Type: date
        Path: Provenance.period.start

      • SP_ENTITY

        public static final String SP_ENTITY
        Search parameter: entity

        Description: Identity of entity
        Type: uri
        Path: Provenance.entity.reference

        See Also:
        Constant Field Values
      • ENTITY

        public static final ca.uhn.fhir.rest.gclient.UriClientParam ENTITY
        Fluent Client search parameter constant for entity

        Description: Identity of entity
        Type: uri
        Path: Provenance.entity.reference

      • SP_USERID

        public static final String SP_USERID
        Search parameter: userid

        Description: Authorization-system identifier for the agent
        Type: token
        Path: Provenance.agent.userId

        See Also:
        Constant Field Values
      • USERID

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam USERID
        Fluent Client search parameter constant for userid

        Description: Authorization-system identifier for the agent
        Type: token
        Path: Provenance.agent.userId

      • SP_TARGET

        public static final String SP_TARGET
        Search parameter: target

        Description: Target Reference(s) (usually version specific)
        Type: reference
        Path: Provenance.target

        See Also:
        Constant Field Values
      • TARGET

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam TARGET
        Fluent Client search parameter constant for target

        Description: Target Reference(s) (usually version specific)
        Type: reference
        Path: Provenance.target

      • INCLUDE_TARGET

        public static final ca.uhn.fhir.model.api.Include INCLUDE_TARGET
        Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:target".
      • SP_ENTITY_TYPE

        public static final String SP_ENTITY_TYPE
        Search parameter: entity-type

        Description: The type of resource in this entity
        Type: token
        Path: Provenance.entity.type

        See Also:
        Constant Field Values
      • ENTITY_TYPE

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam ENTITY_TYPE
        Fluent Client search parameter constant for entity-type

        Description: The type of resource in this entity
        Type: token
        Path: Provenance.entity.type

      • SP_AGENT

        public static final String SP_AGENT
        Search parameter: agent

        Description: Individual, device or organization playing role
        Type: reference
        Path: Provenance.agent.actor

        See Also:
        Constant Field Values
      • AGENT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AGENT
        Fluent Client search parameter constant for agent

        Description: Individual, device or organization playing role
        Type: reference
        Path: Provenance.agent.actor

      • INCLUDE_AGENT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_AGENT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "Provenance:agent".
      • SP_END

        public static final String SP_END
        Search parameter: end

        Description: End time with inclusive boundary, if not ongoing
        Type: date
        Path: Provenance.period.end

        See Also:
        Constant Field Values
      • END

        public static final ca.uhn.fhir.rest.gclient.DateClientParam END
        Fluent Client search parameter constant for end

        Description: End time with inclusive boundary, if not ongoing
        Type: date
        Path: Provenance.period.end

      • SP_SIG

        public static final String SP_SIG
        Search parameter: sig

        Description: Indication of the reason the entity signed the object(s)
        Type: token
        Path: Provenance.signature.type

        See Also:
        Constant Field Values
      • SIG

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam SIG
        Fluent Client search parameter constant for sig

        Description: Indication of the reason the entity signed the object(s)
        Type: token
        Path: Provenance.signature.type