Record FHIR Provenance resources to document data lineage and chain of custody for clinical resources

domain: hl7.org/fhir · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a Provenance resource with Provenance.target referencing the FHIR resource(s) whose provenance is being recorded
  2. Set Provenance.recorded to the datetime the provenance was created, and Provenance.occurred to the time period or instant when the activity that produced the target resource took place
  3. Populate Provenance.agent with at least one entry identifying the Author or Informant (using the appropriate ProvenanceParticipantType code), setting agent.who to the Practitioner, Organization, or Device responsible
  4. Set Provenance.activity using a code from the FHIR provenance-activity-type code system (e.g., CREATE, UPDATE, TRANSFORM) to describe what was done to produce the target
  5. Optionally set Provenance.entity to reference the source resource or document from which the target was derived, using entity.role=derivation or entity.role=source

Known gotchas

Related routes

Record FHIR Provenance resources to attribute EHR write-back data and document data lineage
hl7.org · 6 steps · unrated
Record a FHIR Provenance resource to document the source, author, and data lineage of a created or updated FHIR resource
hl7.org · 6 steps · unrated
Record FHIR Provenance and AuditEvent resources for data lineage and access logging
hl7.org/fhir/R4 · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans