/** * FHIR Version R5 * The following is auto generated resource definition. * * OpenAPI spec version: 3.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Code } from './code'; import { CodeableConcept } from './codeableConcept'; import { CodeableReference } from './codeableReference'; import { Extension } from './extension'; import { Id } from './id'; import { Instant } from './instant'; import { Meta } from './meta'; import { Narrative } from './narrative'; import { Period } from './period'; import { ProvenanceAgent } from './provenanceAgent'; import { ProvenanceEntity } from './provenanceEntity'; import { Reference } from './reference'; import { ResourceList } from './resourceList'; import { Signature } from './signature'; import { Uri } from './uri'; /** * 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. */ export interface Provenance { /** * This is a Provenance resource */ resourceType: 'Provenance'; id?: Id; meta?: Meta; implicitRules?: Uri; language?: Code; text?: Narrative; /** * These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. */ contained?: Array; /** * May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. */ extension?: Array; /** * May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). */ modifierExtension?: Array; /** * 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. */ target: Array; occurredPeriod?: Period; /** * The period during which the activity occurred. */ occurredDateTime?: string; recorded?: Instant; /** * 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. */ policy?: Array; location?: Reference; /** * The authorization (e.g., PurposeOfUse) that was used during the event being recorded. */ authorization?: Array; activity?: CodeableConcept; /** * Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon. */ basedOn?: Array; patient?: Reference; encounter?: Reference; /** * An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place. */ agent: Array; /** * An entity used in this activity. */ entity?: Array; /** * A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. */ signature?: Array; }