Soigneur FHIR Implementation Guide
0.1.0 - ci-build Germany flag

Soigneur FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Coaching-write Provenance: a session taken off the calendar - JSON Representation

Raw json | Download

{
  "resourceType" : "Provenance",
  "id" : "agent-provenance-example",
  "meta" : {
    "profile" : [
      🔗 "https://fhir.soigneur.coach/fhir/StructureDefinition/cc-agent-provenance"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Provenance agent-provenance-example</b></p><a name=\"agent-provenance-example\"> </a><a name=\"hcagent-provenance-example\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profil: <a href=\"StructureDefinition-cc-agent-provenance.html\">Coaching-write Provenance (Provenance)</a></p></div><p>Provenance for: </p><ul><li><a href=\"ServiceRequest-synth-iron-01-prescription.html\">ServiceRequest Threshold</a></li><li><a href=\"Patient-synth-iron-01.html\">Anonymous Patient Female, DoB: 1989-05-27 ( https://fhir.soigneur.coach/fhir/CodeSystem/cc-provider#garmin:synth-iron-01)</a></li></ul><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2026-09-25 18:42:00+0000</td></tr><tr><td>Recorded</td><td>2026-09-25 18:42:00+0000</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-DataOperation UPDATE}, {https://fhir.soigneur.coach/fhir/CodeSystem/cc-provenance-activity coach-write}\">revise</span></td></tr><tr><td>Reason</td><td><span title=\"Codes:\">The week's load target is reached; tomorrow becomes a rest day.</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td>Soigneur coach (Identifier: <a href=\"NamingSystem-sid-agent.html\" title=\"The coach agent's logical identity (ADR 0144) — value `coach`. Used as an identifier-only Reference wherever FHIR needs the agent as an actor (CcAgentProvenance.agent[author].who, NutritionOrder.orderer): there is no agent resource on the server, so a literal Type/id would dangle and fail referential integrity.\">SoigneurAgentId</a>/coach)</td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type verifier}\">Verifier</span></td><td><a href=\"Patient-synth-iron-01.html\">Anonymous Patient Female, DoB: 1989-05-27 ( https://fhir.soigneur.coach/fhir/CodeSystem/cc-provider#garmin:synth-iron-01)</a></td></tr></table><p><b>Entities</b></p><table class=\"grid\"><tr><td><b>Role</b></td><td><b>What</b></td></tr><tr><td>Source</td><td>Coach conversation (Identifier: <a href=\"NamingSystem-sid-conversation.html\" title=\"AG-UI thread id for an in-app coach-ask conversation. Carried on Communication.identifier so the UI can hydrate a transcript by thread (ADR 0044).\">SoigneurConversationThreadId</a>/review-0123456789abcdef)</td></tr><tr><td>Revision</td><td><a href=\"ServiceRequest-synth-iron-01-prescription.html\">ServiceRequest Threshold</a></td></tr></table></div>"
  },
  "target" : [
    {
      🔗 "reference" : "ServiceRequest/synth-iron-01-prescription"
    },
    {
      🔗 "reference" : "Patient/synth-iron-01"
    }
  ],
  "occurredDateTime" : "2026-09-25T18:42:00Z",
  "recorded" : "2026-09-25T18:42:00Z",
  "reason" : [
    {
      "text" : "The week's load target is reached; tomorrow becomes a rest day."
    }
  ],
  "activity" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
        "code" : "UPDATE"
      },
      {
        "system" : "https://fhir.soigneur.coach/fhir/CodeSystem/cc-provenance-activity",
        "code" : "coach-write"
      }
    ]
  },
  "agent" : [
    {
      "extension" : [
        {
          "extension" : [
            {
              "url" : "skill",
              "valueString" : "coach-review-workout"
            },
            {
              "url" : "model",
              "valueString" : "openai/gpt-5.6-terra"
            }
          ],
          "url" : "https://fhir.soigneur.coach/fhir/StructureDefinition/cc-ext-agent-context"
        }
      ],
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code" : "author"
          }
        ]
      },
      "who" : {
        "type" : "Device",
        "identifier" : {
          "system" : "https://fhir.soigneur.coach/fhir/sid/agent",
          "value" : "coach"
        },
        "display" : "Soigneur coach"
      }
    },
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code" : "verifier"
          }
        ]
      },
      "who" : {
        🔗 "reference" : "Patient/synth-iron-01"
      }
    }
  ],
  "entity" : [
    {
      "role" : "source",
      "what" : {
        "identifier" : {
          "system" : "https://fhir.soigneur.coach/fhir/sid/conversation",
          "value" : "review-0123456789abcdef"
        },
        "display" : "Coach conversation"
      }
    },
    {
      "role" : "revision",
      "what" : {
        "reference" : "ServiceRequest/synth-iron-01-prescription/_history/1"
      }
    }
  ]
}