This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
StructureDefinition for provenance
{ "resourceType": "StructureDefinition", "id": "Provenance", "meta": { "lastUpdated": "2015-04-03T14:24:32.000+11:00" }, "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/StructureDefinition/Provenance", "name": "Provenance", "publisher": "HL7 FHIR Project (FHIR Management Group)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] }, { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/fhirmg/index.cfm" } ] } ], "description": "Base StructureDefinition for Provenance Resource", "status": "draft", "date": "2015-04-03T14:24:32+11:00", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM" }, { "identity": "w3c.prov", "uri": "http://www.w3.org/ns/prov", "name": "W3C PROV" } ], "type": "resource", "abstract": true, "snapshot": { "element": [ { "path": "Provenance", "short": "Who, What, When for a set of resources", "definition": "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.", "comments": "Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.", "alias": [ "History", "Event", "Activity" ], "min": 1, "max": "1", "type": [ { "code": "DomainResource" } ], "mapping": [ { "identity": "rim", "map": "ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" }, { "identity": "w3c.prov", "map": "Activity" } ] }, { "path": "Provenance.id", "short": "Logical id of this artefact", "definition": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.", "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "path": "Provenance.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "min": 0, "max": "1", "type": [ { "code": "Meta" } ] }, { "path": "Provenance.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isModifier": true }, { "path": "Provenance.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource\n\nNot all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "Language", "strength": "required", "description": "A human language", "valueSetUri": "http://tools.ietf.org/html/bcp47" } }, { "path": "Provenance.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.", "alias": [ "narrative", "html", "xhtml", "display" ], "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ], "mapping": [ { "identity": "rim", "map": "Act.text?" } ] }, { "path": "Provenance.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "alias": [ "inline resources", "anonymous resources", "contained resources" ], "min": 0, "max": "*", "type": [ { "code": "Resource" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.target", "short": "Target Reference(s) (usually version specific)", "definition": "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.", "comments": "Target references are usually version specific, but may not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource may not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.", "min": 1, "max": "*", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "mapping": [ { "identity": "rim", "map": "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target\r\rOR\r\r./participation[isNormalParticipation() and typeCode=SBJ]/role\r\rOR\r\r./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" }, { "identity": "w3c.prov", "map": "Entity Created/Updated" } ] }, { "path": "Provenance.period", "short": "When the activity occurred", "definition": "The period during which the activity occurred.", "comments": "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "mapping": [ { "identity": "rim", "map": "./effectiveTime[type=IVL_TS]" }, { "identity": "w3c.prov", "map": "Activity.startTime & Activity.endTime" } ] }, { "path": "Provenance.recorded", "short": "When the activity was recorded / updated", "definition": "The instant of time at which the activity was recorded.", "comments": "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "mapping": [ { "identity": "rim", "map": "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" } ] }, { "path": "Provenance.reason", "short": "Reason the activity is occurring", "definition": "The reason that the activity was taking place.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "mapping": [ { "identity": "rim", "map": "unique(./reasonCode)" }, { "identity": "w3c.prov", "map": "Activity.Activity" } ] }, { "path": "Provenance.location", "short": "Where the activity occurred, if relevant", "definition": "Where the activity occurred, if relevant.", "min": 0, "max": "1", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "mapping": [ { "identity": "rim", "map": "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" }, { "identity": "w3c.prov", "map": "Activity.location" } ] }, { "path": "Provenance.policy", "short": "Policy or plan the activity was defined by", "definition": "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.", "comments": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "mapping": [ { "identity": "rim", "map": "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" } ] }, { "path": "Provenance.agent", "name": "agent", "short": "Agents involved in creating resource", "definition": "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.", "comments": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", "min": 0, "max": "*", "mapping": [ { "identity": "rim", "map": "./participation[isNormalParticipation()]\r\rOR\r\r./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" }, { "identity": "w3c.prov", "map": "Agent" } ] }, { "path": "Provenance.agent.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Provenance.agent.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Provenance.agent.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.agent.role", "short": "Agents Role", "definition": "The function of the agent with respect to the activity.", "comments": "e.g. author | performer | enterer | attester: +.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentRole", "strength": "extensible", "description": "The role that a provenance agent played with respect to the activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-agent-role" } }, "mapping": [ { "identity": "rim", "map": "attester: .[self::participation]/typeCode='RESP'\rauthor: .[self::participation]/typeCode='AUT'\rcc: .[self::participation]/typeCode='IRCP'\renterer: .[self::participation]/typeCode='ENT'\rinformant: .[self::participation]/typeCode='INF'\rperformer: .[self::participation]/typeCode='PRF'\rverifier: .[self::participation]/typeCode='VRF'\rsource: .[self::outboundRelationship]/typeCode=''" }, { "identity": "w3c.prov", "map": "Agent.Attribution" } ] }, { "path": "Provenance.agent.type", "short": "Agent Type", "definition": "The type of participation of the agent.", "comments": "e.g. Person | Application | Patient | Device +.", "requirements": "If the type is \"Resource\" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentType", "strength": "required", "description": "The type of a provenance agent", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-agent-type" } }, "mapping": [ { "identity": "rim", "map": "person: ./role[isNormalRole() and classCode='REL']/player[isNormalEntity and classCode='PER' and determinerCode='INST']\ragent: ./role[isNormalRole() and classCode='ASSIGNED' and player[isNormalEntity and classCode='PSN' and determinerCode='INST']]\rorganization: ./role[isNormalRole() and classCode='ASSIGNED' and not(player)]/scoper[isNormalEntity and classCode='ORG' and determinerCode='INST']\r\rsoftware: ./role[isNormalRole() and classCode='ASSIGNED']/scoper[isNormalEntity and classCode='DEV' and determinerCode='INST' and hasDomain(code, 'Software')]\rdocument: ./target[isNormalAct and subsumes('DOC', classCode) and moodCode='EVN']" }, { "identity": "w3c.prov", "map": "Agent.Association" } ] }, { "path": "Provenance.agent.reference[x]", "short": "Identity of agent", "definition": "Identity of participant as a Resource or uri.", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "mapping": [ { "identity": "w3c.prov", "map": "Agent.Identity" } ] }, { "path": "Provenance.agent.display", "short": "Human description of participant", "definition": "Human-readable description of the participant.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./player/description\r\rOR\r\r./description\r\rOR\r\r./text" }, { "identity": "w3c.prov", "map": "Agent.label" } ] }, { "path": "Provenance.entity", "short": "An entity used in this activity", "definition": "An entity used in this activity.", "min": 0, "max": "*", "mapping": [ { "identity": "rim", "map": "./subjectOf" }, { "identity": "w3c.prov", "map": "Entity" } ] }, { "path": "Provenance.entity.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Provenance.entity.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Provenance.entity.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.entity.role", "short": "derivation | revision | quotation | source", "definition": "How the entity was used during the activity.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "ProvenanceEntityRole", "strength": "required", "description": "How an entity was used in an activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-entity-role" } }, "mapping": [ { "identity": "rim", "map": "./typeCode" }, { "identity": "w3c.prov", "map": "Entity.role" } ] }, { "path": "Provenance.entity.type", "short": "Entity Type", "definition": "The type of the entity. If the entity is a resource, then this is a resource type.", "requirements": "If the type is \"resource\" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceEntityType", "strength": "required", "description": "The type of an entity used in an activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/resource-types" } }, "mapping": [ { "identity": "rim", "map": "./target" }, { "identity": "w3c.prov", "map": "Entity.type" } ] }, { "path": "Provenance.entity.reference", "short": "Identity of entity", "definition": "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", "comments": "identity may be a reference to a resource or to something else, depending on the type.", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "mapping": [ { "identity": "rim", "map": "./text/reference" }, { "identity": "w3c.prov", "map": "Entity.Identity" } ] }, { "path": "Provenance.entity.display", "short": "Human description of entity", "definition": "Human-readable description of the entity.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./title" }, { "identity": "w3c.prov", "map": "Entity.Label" } ] }, { "path": "Provenance.entity.agent", "short": "Entity is attributed to this agent", "definition": "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", "min": 0, "max": "1", "nameReference": "agent", "mapping": [ { "identity": "rim", "map": "./author/role" } ] }, { "path": "Provenance.signature", "short": "Signature on target", "definition": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", "min": 0, "max": "*", "type": [ { "code": "Signature" } ], "mapping": [ { "identity": "rim", "map": "./signatureText" } ] } ] }, "differential": { "element": [ { "path": "Provenance", "short": "Who, What, When for a set of resources", "definition": "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.", "comments": "Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.", "alias": [ "History", "Event", "Activity" ], "min": 1, "max": "1", "type": [ { "code": "DomainResource" } ], "mapping": [ { "identity": "rim", "map": "ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" }, { "identity": "w3c.prov", "map": "Activity" } ] }, { "path": "Provenance.target", "short": "Target Reference(s) (usually version specific)", "definition": "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.", "comments": "Target references are usually version specific, but may not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource may not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.", "min": 1, "max": "*", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "mapping": [ { "identity": "rim", "map": "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target\r\rOR\r\r./participation[isNormalParticipation() and typeCode=SBJ]/role\r\rOR\r\r./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" }, { "identity": "w3c.prov", "map": "Entity Created/Updated" } ] }, { "path": "Provenance.period", "short": "When the activity occurred", "definition": "The period during which the activity occurred.", "comments": "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "mapping": [ { "identity": "rim", "map": "./effectiveTime[type=IVL_TS]" }, { "identity": "w3c.prov", "map": "Activity.startTime & Activity.endTime" } ] }, { "path": "Provenance.recorded", "short": "When the activity was recorded / updated", "definition": "The instant of time at which the activity was recorded.", "comments": "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.", "min": 1, "max": "1", "type": [ { "code": "instant" } ], "mapping": [ { "identity": "rim", "map": "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" } ] }, { "path": "Provenance.reason", "short": "Reason the activity is occurring", "definition": "The reason that the activity was taking place.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "mapping": [ { "identity": "rim", "map": "unique(./reasonCode)" }, { "identity": "w3c.prov", "map": "Activity.Activity" } ] }, { "path": "Provenance.location", "short": "Where the activity occurred, if relevant", "definition": "Where the activity occurred, if relevant.", "min": 0, "max": "1", "type": [ { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "mapping": [ { "identity": "rim", "map": "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" }, { "identity": "w3c.prov", "map": "Activity.location" } ] }, { "path": "Provenance.policy", "short": "Policy or plan the activity was defined by", "definition": "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.", "comments": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.", "min": 0, "max": "*", "type": [ { "code": "uri" } ], "mapping": [ { "identity": "rim", "map": "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" } ] }, { "path": "Provenance.agent", "name": "agent", "short": "Agents involved in creating resource", "definition": "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.", "comments": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", "min": 0, "max": "*", "mapping": [ { "identity": "rim", "map": "./participation[isNormalParticipation()]\r\rOR\r\r./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" }, { "identity": "w3c.prov", "map": "Agent" } ] }, { "path": "Provenance.agent.role", "short": "Agents Role", "definition": "The function of the agent with respect to the activity.", "comments": "e.g. author | performer | enterer | attester: +.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentRole", "strength": "extensible", "description": "The role that a provenance agent played with respect to the activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-agent-role" } }, "mapping": [ { "identity": "rim", "map": "attester: .[self::participation]/typeCode='RESP'\rauthor: .[self::participation]/typeCode='AUT'\rcc: .[self::participation]/typeCode='IRCP'\renterer: .[self::participation]/typeCode='ENT'\rinformant: .[self::participation]/typeCode='INF'\rperformer: .[self::participation]/typeCode='PRF'\rverifier: .[self::participation]/typeCode='VRF'\rsource: .[self::outboundRelationship]/typeCode=''" }, { "identity": "w3c.prov", "map": "Agent.Attribution" } ] }, { "path": "Provenance.agent.type", "short": "Agent Type", "definition": "The type of participation of the agent.", "comments": "e.g. Person | Application | Patient | Device +.", "requirements": "If the type is \"Resource\" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentType", "strength": "required", "description": "The type of a provenance agent", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-agent-type" } }, "mapping": [ { "identity": "rim", "map": "person: ./role[isNormalRole() and classCode='REL']/player[isNormalEntity and classCode='PER' and determinerCode='INST']\ragent: ./role[isNormalRole() and classCode='ASSIGNED' and player[isNormalEntity and classCode='PSN' and determinerCode='INST']]\rorganization: ./role[isNormalRole() and classCode='ASSIGNED' and not(player)]/scoper[isNormalEntity and classCode='ORG' and determinerCode='INST']\r\rsoftware: ./role[isNormalRole() and classCode='ASSIGNED']/scoper[isNormalEntity and classCode='DEV' and determinerCode='INST' and hasDomain(code, 'Software')]\rdocument: ./target[isNormalAct and subsumes('DOC', classCode) and moodCode='EVN']" }, { "identity": "w3c.prov", "map": "Agent.Association" } ] }, { "path": "Provenance.agent.reference[x]", "short": "Identity of agent", "definition": "Identity of participant as a Resource or uri.", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "profile": "http://hl7.org/fhir/StructureDefinition/Device" } ], "mapping": [ { "identity": "w3c.prov", "map": "Agent.Identity" } ] }, { "path": "Provenance.agent.display", "short": "Human description of participant", "definition": "Human-readable description of the participant.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./player/description\r\rOR\r\r./description\r\rOR\r\r./text" }, { "identity": "w3c.prov", "map": "Agent.label" } ] }, { "path": "Provenance.entity", "short": "An entity used in this activity", "definition": "An entity used in this activity.", "min": 0, "max": "*", "mapping": [ { "identity": "rim", "map": "./subjectOf" }, { "identity": "w3c.prov", "map": "Entity" } ] }, { "path": "Provenance.entity.role", "short": "derivation | revision | quotation | source", "definition": "How the entity was used during the activity.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "ProvenanceEntityRole", "strength": "required", "description": "How an entity was used in an activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/provenance-entity-role" } }, "mapping": [ { "identity": "rim", "map": "./typeCode" }, { "identity": "w3c.prov", "map": "Entity.role" } ] }, { "path": "Provenance.entity.type", "short": "Entity Type", "definition": "The type of the entity. If the entity is a resource, then this is a resource type.", "requirements": "If the type is \"resource\" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceEntityType", "strength": "required", "description": "The type of an entity used in an activity", "valueSetReference": { "reference": "http://hl7.org/fhir/vs/resource-types" } }, "mapping": [ { "identity": "rim", "map": "./target" }, { "identity": "w3c.prov", "map": "Entity.type" } ] }, { "path": "Provenance.entity.reference", "short": "Identity of entity", "definition": "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", "comments": "identity may be a reference to a resource or to something else, depending on the type.", "min": 1, "max": "1", "type": [ { "code": "uri" } ], "mapping": [ { "identity": "rim", "map": "./text/reference" }, { "identity": "w3c.prov", "map": "Entity.Identity" } ] }, { "path": "Provenance.entity.display", "short": "Human description of entity", "definition": "Human-readable description of the entity.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./title" }, { "identity": "w3c.prov", "map": "Entity.Label" } ] }, { "path": "Provenance.entity.agent", "short": "Entity is attributed to this agent", "definition": "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", "min": 0, "max": "1", "nameReference": "agent", "mapping": [ { "identity": "rim", "map": "./author/role" } ] }, { "path": "Provenance.signature", "short": "Signature on target", "definition": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", "min": 0, "max": "*", "type": [ { "code": "Signature" } ], "mapping": [ { "identity": "rim", "map": "./signatureText" } ] } ] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.