FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Provenance/example-advanced (JSON)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

Raw JSON (canonical form + also see JSON Format Specification)

Advanced Provenance of a create with all elements filled including patient, encounter, authorization, baseOn, and jpeg signature

{
  "resourceType" : "Provenance",
  "id" : "example-advanced",
  "target" : [{
    "reference" : "List/example"
  }],
  "occurredDateTime" : "2020-04-29T09:49:00.000Z",
  "recorded" : "2020-04-29T09:49:00.000Z",
  "policy" : ["http://example.org/policy/1234"],
  "location" : {
    "reference" : "Location/1/_history/1"
  },
  "authorization" : [{
    "concept" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "TREAT"
      }]
    }
  }],
  "activity" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }]
  },
  "basedOn" : [{
    "reference" : "CarePlan/example"
  }],
  "patient" : {
    "reference" : "Patient/example"
  },
  "encounter" : {
    "reference" : "Encounter/home"
  },
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110153",
        "display" : "Source Role ID"
      }]
    },
    "who" : {
      "display" : "myMachine.example.org"
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110152",
        "display" : "Destination Role ID"
      }]
    },
    "who" : {
      "reference" : "Device/example"
    }
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
        "code" : "INF",
        "display" : "Informant"
      }]
    },
    "who" : {
      "display" : "Betty Jones"
    }
  }],
  "signature" : [{
    "type" : [{
      "system" : "urn:iso-astm:E1762-95:2013",
      "code" : "1.2.840.10065.1.12.1.5",
      "display" : "Verification Signature"
    }],
    "when" : "2020-04-29T09:49:00.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UoljniiIVbfBAd3PJ5jkUfKrOAqfK2QKAOuorDfxRqFraxSz6HdjcmXSGRZX3bGYKoH+6FJbYAzDkjJEmi+JptTvLaCaxktXltTNIWLAJICgZFDKrMBv+/gA8cc8AGxRRRQBzvhvQrq2WzjmhMP2KVpZJXK5nIjMSBVUngIRknB+QcHcSNLQ9C/sfzXaXzp5j8z7dowGZgMZPOWYk9yx6DCgooA0Kr2mnJaXE026SSa4PzO55CjO1R2CjJwPck5JJJRQBYooooA//2Q=="
  }]
}

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.