{
  "resourceType" : "SearchParameter",
  "id" : "ahd-counseling-last",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter ahd-counseling-last</b></p><a name=\"ahd-counseling-last\"> </a><a name=\"hcahd-counseling-last\"> </a><h2>AhdCounselingLast</h2><p>Parameter <code>last</code>:<code>token</code></p><div><p>Custom parameter (UC-AHD-054): last=true returns only the chronologically latest valid counselling decision for the patient and linked persons.</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R5/observation.html\">Observation</a></td></tr><tr><td>Expression</td><td>(none)</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></table></div>"
  },
  "url" : "https://fhir.ee/ahd/SearchParameter/ahd-counseling-last",
  "version" : "0.1.0",
  "name" : "AhdCounselingLast",
  "status" : "active",
  "date" : "2026-09-04T09:27:54+00:00",
  "publisher" : "TEHIK",
  "contact" : [{
    "name" : "TEHIK",
    "telecom" : [{
      "system" : "url",
      "value" : "https://tehik.ee"
    },
    {
      "system" : "email",
      "value" : "abi@tehik.ee"
    }]
  }],
  "description" : "Custom parameter (UC-AHD-054): last=true returns only the chronologically latest valid counselling decision for the patient and linked persons.",
  "code" : "last",
  "base" : ["Observation"],
  "type" : "token"
}