{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-11-23T11:21:41.515+00:00"
  },
  "url": "http://medico-emr.net/stu3/sd/Provenance-Base-1",
  "name": "Provenance-Base-1",
  "status": "active",
  "date": "2018-11-23T11:21:41.3542121+00:00",
  "description": "Base profile for all provenance-based resources in medico",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance.id",
        "path": "Provenance.id",
        "min": 1
      },
      {
        "id": "Provenance.meta",
        "path": "Provenance.meta",
        "min": 1
      },
      {
        "id": "Provenance.meta.id",
        "path": "Provenance.meta.id",
        "max": "0"
      },
      {
        "id": "Provenance.meta.versionId",
        "path": "Provenance.meta.versionId",
        "max": "0"
      },
      {
        "id": "Provenance.meta.lastUpdated",
        "path": "Provenance.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Provenance.meta.profile",
        "path": "Provenance.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Provenance.meta.security",
        "path": "Provenance.meta.security",
        "max": "0"
      },
      {
        "id": "Provenance.meta.tag",
        "path": "Provenance.meta.tag",
        "max": "0"
      },
      {
        "id": "Provenance.implicitRules",
        "path": "Provenance.implicitRules",
        "max": "0"
      },
      {
        "id": "Provenance.language",
        "path": "Provenance.language",
        "max": "0"
      },
      {
        "id": "Provenance.text",
        "path": "Provenance.text",
        "max": "0"
      },
      {
        "id": "Provenance.contained",
        "path": "Provenance.contained",
        "max": "0"
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://medico-emr.net/stu3/sd/Procedure-CareIntervention-1"
          }
        ]
      },
      {
        "id": "Provenance.target.id",
        "path": "Provenance.target.id",
        "max": "0"
      },
      {
        "id": "Provenance.target.reference",
        "path": "Provenance.target.reference",
        "min": 1
      },
      {
        "id": "Provenance.target.identifier",
        "path": "Provenance.target.identifier",
        "min": 1
      },
      {
        "id": "Provenance.target.identifier.id",
        "path": "Provenance.target.identifier.id",
        "max": "0"
      },
      {
        "id": "Provenance.target.identifier.use",
        "path": "Provenance.target.identifier.use",
        "fixedCode": "usual"
      },
      {
        "id": "Provenance.target.identifier.type",
        "path": "Provenance.target.identifier.type",
        "max": "0"
      },
      {
        "id": "Provenance.target.identifier.system",
        "path": "Provenance.target.identifier.system",
        "min": 1
      },
      {
        "id": "Provenance.target.identifier.value",
        "path": "Provenance.target.identifier.value",
        "min": 1
      },
      {
        "id": "Provenance.target.identifier.period",
        "path": "Provenance.target.identifier.period",
        "max": "0"
      },
      {
        "id": "Provenance.target.identifier.assigner",
        "path": "Provenance.target.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Provenance.target.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Provenance.target.display",
        "max": "0"
      },
      {
        "id": "Provenance.period",
        "path": "Provenance.period",
        "max": "0"
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "definition": "medico:  the related crd-field of the table pointed to."
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "max": "0"
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "max": "0"
      },
      {
        "id": "Provenance.reason",
        "path": "Provenance.reason",
        "max": "0"
      },
      {
        "id": "Provenance.agent.id",
        "path": "Provenance.agent.id",
        "max": "0"
      },
      {
        "id": "Provenance.agent.role",
        "path": "Provenance.agent.role",
        "max": "0"
      },
      {
        "id": "Provenance.agent.who[x]:whoReference",
        "path": "Provenance.agent.whoReference",
        "sliceName": "whoReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://medico-emr.net/stu3/sd/Practitioner-Employee-1"
          }
        ]
      },
      {
        "id": "Provenance.agent.onBehalfOf[x]",
        "path": "Provenance.agent.onBehalfOf[x]",
        "max": "0"
      },
      {
        "id": "Provenance.agent.relatedAgentType",
        "path": "Provenance.agent.relatedAgentType",
        "max": "0"
      },
      {
        "id": "Provenance.entity.role",
        "path": "Provenance.entity.role",
        "fixedCode": "source"
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "max": "0"
      }
    ]
  }
}