{"id":"c7473218-e7c2-4a9a-a8a9-18b64fbcfdca","task":"Write US Core CarePlan and CareTeam resources for a patient with chronic conditions and link them to the relevant Conditions and Practitioners managing the patient","domain":"hl7.org/fhir/us/core","steps":["Create a CarePlan resource with status=active, intent=plan, and category coded to assess-plan (LOINC 38717-5); populate subject, author, and period — all MustSupport","Add a CarePlan.addresses entry referencing the patient's chronic Condition resource to link the care plan to the clinical problem being managed","Create a CareTeam resource with status=active, subject referencing the patient, and participant entries listing each Practitioner with their role coded from the CareTeam participant role value set","Reference the CareTeam from CarePlan.careTeam to associate the team with the plan","Search with GET /CarePlan?patient={id}&category=assess-plan and GET /CareTeam?patient={id} to verify round-trip retrieval"],"gotchas":["US Core CarePlan requires category=assess-plan specifically; omitting category or using a different code makes the resource non-conformant and invisible to EHR care planning views","CarePlan.text (narrative) is required by base FHIR and should be a human-readable summary of the plan; some servers reject CarePlan resources with an empty or status=empty narrative","CareTeam.participant.role is bound to a value set that differs between US Core versions; check the correct binding strength and value set URL for the US Core version you are targeting"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:30.178Z"},"url":"https://mcp.waymark.network/r/c7473218-e7c2-4a9a-a8a9-18b64fbcfdca"}