PackagesCanonicalsLogsProblems
    Packages
    ForgePatientChart.0830@0.1.0
    https://telus.com/fhir/patientChart/StructureDefinition/profile-export-provenance
{
  "description": null,
  "_filename": "profile-export-provenance.StructureDefinition.json",
  "package_name": "ForgePatientChart.0830",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "ExportProvenance",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.w3.org/ns/prov",
    "name": "W3C PROV",
    "identity": "w3c.prov"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/fhir/auditevent",
    "name": "FHIR AuditEvent Mapping",
    "identity": "fhirauditevent"
  } ],
  "abstract": false,
  "type": "Provenance",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.1.0",
  "status": "draft",
  "id": "ffbd43d6-6e57-44b6-b418-d6f8692d3f66",
  "kind": "resource",
  "url": "https://telus.com/fhir/patientChart/StructureDefinition/profile-export-provenance",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Provenance",
      "path": "Provenance",
      "mustSupport": true
    }, {
      "id": "Provenance.id",
      "path": "Provenance.id",
      "comment": "Usage Note:   This will usually be a GUID that is assigned by the sending application.\r\n\r\nThe only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "mustSupport": true
    }, {
      "id": "Provenance.meta",
      "path": "Provenance.meta",
      "mustSupport": true
    }, {
      "id": "Provenance.meta.lastUpdated",
      "path": "Provenance.meta.lastUpdated",
      "mustSupport": true
    }, {
      "id": "Provenance.meta.source",
      "path": "Provenance.meta.source",
      "mustSupport": true
    }, {
      "id": "Provenance.meta.profile",
      "path": "Provenance.meta.profile",
      "mustSupport": true
    }, {
      "id": "Provenance.text",
      "path": "Provenance.text",
      "mustSupport": true
    }, {
      "id": "Provenance.target",
      "path": "Provenance.target",
      "comment": "Conformance Rule:   This will reference the bundle\r\n\r\nTarget references are usually version specific, but might 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 might 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.",
      "mustSupport": true
    }, {
      "id": "Provenance.target.reference",
      "min": 1,
      "path": "Provenance.target.reference",
      "mustSupport": true
    }, {
      "id": "Provenance.target.display",
      "path": "Provenance.target.display",
      "mustSupport": true
    }, {
      "id": "Provenance.occurred[x]",
      "path": "Provenance.occurred[x]",
      "comment": "Usage Note:   This is often the same as the recorded date in the case of an Export.\r\n\r\nThe period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.",
      "mustSupport": true
    }, {
      "id": "Provenance.recorded",
      "path": "Provenance.recorded",
      "mustSupport": true
    }, {
      "id": "Provenance.reason",
      "max": "1",
      "path": "Provenance.reason",
      "mustSupport": true
    }, {
      "id": "Provenance.reason.coding",
      "max": "1",
      "min": 1,
      "path": "Provenance.reason.coding",
      "mustSupport": true
    }, {
      "id": "Provenance.reason.coding.system",
      "min": 1,
      "path": "Provenance.reason.coding.system",
      "mustSupport": true
    }, {
      "id": "Provenance.reason.coding.code",
      "min": 1,
      "path": "Provenance.reason.coding.code",
      "mustSupport": true
    }, {
      "id": "Provenance.activity",
      "min": 1,
      "path": "Provenance.activity",
      "comment": "***This will likely be a fixed value of \"EXPORT\"\r\n\r\nNot all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
      "mustSupport": true
    }, {
      "id": "Provenance.activity.coding",
      "path": "Provenance.activity.coding",
      "mustSupport": true
    }, {
      "id": "Provenance.activity.coding.system",
      "min": 1,
      "path": "Provenance.activity.coding.system",
      "mustSupport": true
    }, {
      "id": "Provenance.activity.coding.code",
      "min": 1,
      "path": "Provenance.activity.coding.code",
      "fixedCode": "EXPORT",
      "mustSupport": true
    }, {
      "id": "Provenance.activity.text",
      "min": 1,
      "path": "Provenance.activity.text",
      "mustSupport": true
    }, {
      "id": "Provenance.agent",
      "path": "Provenance.agent",
      "comment": "Conformance Rule:    There will be two agents specified in WHO.   The first is a reference to exporting device, where the EMR application instance identifier must be specified (PSS1234, MA6777, etc).   Example:   urn:telus:emr:pss:1234.   The name of the EMR software (PSSuite, MedAccess, etc)  will also be specified in device.     The second agent is a reference to the practitioner who carried out the action; this must be included if known\r\n\r\nConformance Rule:      The name of the organization (eg Clinic ABC)  will be conveyed in the onBehalfOf.display when the agent.who is the device.\r\n\r\nConformance Rule:   The onBehalfOf may be present when the agent.who is the User (clinical or non-clinical)  who is acting on behalf of another Practitioner (note:  FHIR uses either Practitioner or Practitioner Role resource).     Example:   A student who is acting in a clinical role will be acting on behalf of a responsible practitioner.   Example 2:   An MOA will be acting on behalf of the responsible physician.\r\n\r\nSeveral agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.role",
      "max": "1",
      "path": "Provenance.agent.role",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.role.coding",
      "path": "Provenance.agent.role.coding",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.role.coding.system",
      "min": 1,
      "path": "Provenance.agent.role.coding.system",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.role.coding.code",
      "min": 1,
      "path": "Provenance.agent.role.coding.code",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.role.text",
      "path": "Provenance.agent.role.text",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.who",
      "path": "Provenance.agent.who",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "bundled" ]
      } ],
      "comment": "Conformance Rule:   A reference to device must be specified and a reference to either Practitioner (Profile choice of Practitioner or MOA/User)  must be specified\r\n\r\nwhoIdentity should be used when the agent is not a Resource type.",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.who.reference",
      "min": 1,
      "path": "Provenance.agent.who.reference",
      "comment": "Conformance Rule:   A reference must be specified for device\r\n\r\nUsing absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.who.display",
      "path": "Provenance.agent.who.display",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.onBehalfOf",
      "path": "Provenance.agent.onBehalfOf",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "bundled" ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ]
      } ],
      "comment": "Conformance Rule:   This is specified when the agent/user is acting on behalf of Practitioner\r\n\r\nConformance Rule:   The PractitonerRole must always be used as this is the means for specifying the role and specialty of the practitioner.   If the practitioner role is not known, the Practitioner resource may be used.  \r\n\r\nonBehalfOfIdentity should be used when the agent is not a Resource type.",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.onBehalfOf.reference",
      "min": 1,
      "path": "Provenance.agent.onBehalfOf.reference",
      "comment": "Conformance Rule:   This will be a reference to the practitioner role or practitioner \r\n\r\nUsing absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "mustSupport": true
    }, {
      "id": "Provenance.agent.onBehalfOf.display",
      "path": "Provenance.agent.onBehalfOf.display",
      "comment": "Conformance Rule:   This will be the name of the practitioner or organization who is exporting the data.\r\n\r\nThis is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance"
}