@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://kip.rkkp.dk/fhir/SearchParameter/CprPatient> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "CprPatient"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter CprPatient</b></p><a name=\"CprPatient\"> </a><a name=\"hcCprPatient\"> </a><h2>CprPatient</h2><p>Parameter <code>cpr</code>:<code>token</code></p><div><p>Search by CPR in Patient</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td></tr><tr><td>Expression</td><td><code>Patient.identifier.where(system='urn:oid:1.2.208.176.1.2')</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>"
  ] ;
  fhir:SearchParameter.url [ fhir:value "https://kip.rkkp.dk/fhir/SearchParameter/CprPatient"] ;
  fhir:SearchParameter.version [ fhir:value "2.27.3"] ;
  fhir:SearchParameter.name [ fhir:value "CprPatient"] ;
  fhir:SearchParameter.status [ fhir:value "active"] ;
  fhir:SearchParameter.date [ fhir:value "2026-11-11T13:51:51+00:00"^^xsd:dateTime] ;
  fhir:SearchParameter.publisher [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S"] ;
  fhir:SearchParameter.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://trifork.com" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "rbk@trifork.com" ]
     ]
  ] ;
  fhir:SearchParameter.description [ fhir:value "Search by CPR in Patient"] ;
  fhir:SearchParameter.code [ fhir:value "cpr"] ;
  fhir:SearchParameter.base [
     fhir:value "Patient" ;
     fhir:index -1
  ] ;
  fhir:SearchParameter.type [ fhir:value "token"] ;
  fhir:SearchParameter.expression [ fhir:value "Patient.identifier.where(system='urn:oid:1.2.208.176.1.2')"] ;
  fhir:SearchParameter.comparator [
     fhir:value "eq" ;
     fhir:index -1
  ] .

# - ontology header ------------------------------------------------------------

<https://kip.rkkp.dk/fhir/SearchParameter/CprPatient.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

