@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.ee/ahd/SearchParameter/ahd-counseling-last> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ahd-counseling-last"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://fhir.ee/ahd/SearchParameter/ahd-counseling-last"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "AhdCounselingLast"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-09-04T09:27:54+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "TEHIK"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "TEHIK" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://tehik.ee" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "abi@tehik.ee" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Custom parameter (UC-AHD-054): last=true returns only the chronologically latest valid counselling decision for the patient and linked persons."] ; # 
  fhir:code [ fhir:v "last"] ; # 
  fhir:base ( [ fhir:v "Observation"] ) ; # 
  fhir:type [ fhir:v "token"] . # 

# -------------------------------------------------------------------------------------

