{
  "resourceType" : "SearchParameter",
  "id" : "CarePlanReadOrWriteAccess",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter CarePlanReadOrWriteAccess</b></p><a name=\"CarePlanReadOrWriteAccess\"> </a><a name=\"hcCarePlanReadOrWriteAccess\"> </a><h2>CarePlanReadOrWriteAccess</h2><p>Parameter <code>access-sor-code</code>:<code>string</code></p><div><p>Search a CarePlan for readAccess or writeAccess SOR code</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/careplan.html\">CarePlan</a></td></tr><tr><td>Expression</td><td><code>CarePlan.activity.extension.where($this.url='readAccess' or $this.url='writeAccess').value</code></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr><tr><td>Comparators</td><td>Allowed: eq</td></tr></table></div>"
  },
  "url" : "https://kip.rkkp.dk/fhir/SearchParameter/CarePlanReadOrWriteAccess",
  "version" : "2.19.2",
  "name" : "CarePlanReadOrWriteAccess",
  "status" : "active",
  "date" : "2026-03-04T14:42:21+00:00",
  "publisher" : "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S",
  "contact" : [{
    "name" : "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S",
    "telecom" : [{
      "system" : "url",
      "value" : "https://trifork.com"
    },
    {
      "system" : "email",
      "value" : "rbk@trifork.com"
    }]
  }],
  "description" : "Search a CarePlan for readAccess or writeAccess SOR code",
  "code" : "access-sor-code",
  "base" : ["CarePlan"],
  "type" : "string",
  "expression" : "CarePlan.activity.extension.where($this.url='readAccess' or $this.url='writeAccess').value",
  "comparator" : ["eq"]
}