{
  "resourceType": "StructureDefinition",
  "id": "ehrsrle-provenance",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "ehr"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance",
  "name": "EHRS FM Record Lifecycle Event - Provenance",
  "status": "draft",
  "experimental": false,
  "date": "2014-01-31",
  "publisher": "Health Level Seven International (Electronic Health Record)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/special/committees/ehr.html"
        }
      ]
    }
  ],
  "description": "Defines the elements to be supported within the Provenance resource in order to conform with the Electronic Health Record System Functional Model Record Lifecycle Event standard",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w3c.prov",
      "uri": "http://www.w3.org/ns/prov",
      "name": "W3C PROV"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "fhirauditevent",
      "uri": "http://hl7.org/fhir/auditevent",
      "name": "FHIR AuditEvent"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance",
        "path": "Provenance",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "mustSupport": true
      },
      {
        "id": "Provenance.period",
        "path": "Provenance.period",
        "mustSupport": true
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "mustSupport": true
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "mustSupport": true
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "mustSupport": true
      },
      {
        "id": "Provenance.reason",
        "path": "Provenance.reason",
        "mustSupport": true
      },
      {
        "id": "Provenance.activity",
        "path": "Provenance.activity",
        "mustSupport": true
      },
      {
        "id": "Provenance.agent",
        "path": "Provenance.agent",
        "mustSupport": true
      },
      {
        "id": "Provenance.agent.who[x]",
        "path": "Provenance.agent.who[x]",
        "mustSupport": true
      },
      {
        "id": "Provenance.agent.onBehalfOf[x]",
        "path": "Provenance.agent.onBehalfOf[x]",
        "mustSupport": true
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "mustSupport": true
      }
    ]
  }
}