This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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
Profile for provenance
{ "resourceType": "Profile", "id": "Provenance", "meta": { "lastUpdated": "2015-02-23T09:07:27.665+11:00" }, "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/Profile/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 Profile for Provenance Resource", "status": "draft", "date": "2015-02-23T09:07:27+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": "Provenance", "snapshot": { "element": [ { "path": "Provenance", "short": "Who, What, When for a set of resources", "definition": "Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance.", "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.", "synonym": [ "History", "Event", "Activity" ], "min": 1, "max": "1", "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", "isExtensible": false, "conformance": "required", "description": "A human language", "referenceUri": "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.", "synonym": [ "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.", "synonym": [ "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.", "synonym": [ "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.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.target", "short": "Target Reference(s) (usually version specific)", "definition": "The Reference(s) that were generated 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/Profile/Any" } ], "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": "Activity.wasGeneratedBy" } ] }, { "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)" } ] }, { "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/Profile/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.", "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": "Person, organization, records, etc. 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, a piece of software, an inanimate object, an organization, 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']" } ] }, { "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.", "synonym": [ "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.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Provenance.agent.role", "short": "e.g. author | overseer | enterer | attester | source | cc: +", "definition": "The role that the participant played.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentRole", "isExtensible": true, "conformance": "preferred", "description": "The role that a provenance agent played", "referenceReference": { "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=''" } ] }, { "path": "Provenance.agent.type", "short": "e.g. Resource | Person | Application | Record | Document +", "definition": "The type of the participant.", "comments": "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", "isExtensible": true, "conformance": "preferred", "description": "The type of a provenance agent", "referenceReference": { "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']" } ] }, { "path": "Provenance.agent.reference", "short": "Identity of agent (urn or url)", "definition": "Identity of participant. 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": "./id" } ] }, { "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" } ] }, { "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.", "synonym": [ "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.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "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", "isExtensible": false, "conformance": "required", "description": "How an entity was used in an activity", "referenceReference": { "reference": "http://hl7.org/fhir/vs/provenance-entity-role" } }, "mapping": [ { "identity": "rim", "map": "./typeCode" } ] }, { "path": "Provenance.entity.type", "short": "Resource Type, or something else", "definition": "The type of the entity. If the entity is a resource, then this is a resource type.", "comments": "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", "isExtensible": true, "conformance": "preferred", "description": "The type of an entity used in an activity", "referenceReference": { "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 participant (urn or url)", "definition": "Identity of participant. 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" } ] }, { "path": "Provenance.entity.display", "short": "Human description of participant", "definition": "Human-readable description of the entity.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./title" } ] }, { "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.integritySignature", "short": "Base64 signature (DigSig) - integrity check", "definition": "A digital signature on the target Reference(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.", "comments": "Whether the content is XML or JSON, the representation is as a base64 of the XML signature of the resource.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./signatureText" } ] } ] }, "differential": { "element": [ { "path": "Provenance", "short": "Who, What, When for a set of resources", "definition": "Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance.", "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.", "synonym": [ "History", "Event", "Activity" ], "min": 1, "max": "1", "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 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/Profile/Any" } ], "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": "Activity.wasGeneratedBy" } ] }, { "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)" } ] }, { "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/Profile/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.", "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": "Person, organization, records, etc. 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, a piece of software, an inanimate object, an organization, 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']" } ] }, { "path": "Provenance.agent.role", "short": "e.g. author | overseer | enterer | attester | source | cc: +", "definition": "The role that the participant played.", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "binding": { "name": "ProvenanceAgentRole", "isExtensible": true, "conformance": "preferred", "description": "The role that a provenance agent played", "referenceReference": { "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=''" } ] }, { "path": "Provenance.agent.type", "short": "e.g. Resource | Person | Application | Record | Document +", "definition": "The type of the participant.", "comments": "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", "isExtensible": true, "conformance": "preferred", "description": "The type of a provenance agent", "referenceReference": { "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']" } ] }, { "path": "Provenance.agent.reference", "short": "Identity of agent (urn or url)", "definition": "Identity of participant. 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": "./id" } ] }, { "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" } ] }, { "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", "isExtensible": false, "conformance": "required", "description": "How an entity was used in an activity", "referenceReference": { "reference": "http://hl7.org/fhir/vs/provenance-entity-role" } }, "mapping": [ { "identity": "rim", "map": "./typeCode" } ] }, { "path": "Provenance.entity.type", "short": "Resource Type, or something else", "definition": "The type of the entity. If the entity is a resource, then this is a resource type.", "comments": "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", "isExtensible": true, "conformance": "preferred", "description": "The type of an entity used in an activity", "referenceReference": { "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 participant (urn or url)", "definition": "Identity of participant. 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" } ] }, { "path": "Provenance.entity.display", "short": "Human description of participant", "definition": "Human-readable description of the entity.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "mapping": [ { "identity": "rim", "map": "./title" } ] }, { "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.integritySignature", "short": "Base64 signature (DigSig) - integrity check", "definition": "A digital signature on the target Reference(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.", "comments": "Whether the content is XML or JSON, the representation is as a base64 of the XML signature of the resource.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "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.