@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 -------------------------------------------------------------------

<http://hl7.org.au/fhir/core/SearchParameter/au-core-clinical-patient> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "au-core-clinical-patient"] ; # 
  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 au-core-clinical-patient</b></p><a name=\"au-core-clinical-patient\"> </a><a name=\"hcau-core-clinical-patient\"> </a><h2>AUCoreClinicalPatient</h2><p>Parameter <code>patient</code>:<code>reference</code></p><div><p>This SearchParameter describes the rules on the clinical-patient search parameter in AU Core. It is based on the FHIR <a href=\"https://hl7.org/fhir/R4/searchparameter-registry.html#clinical-patient\">clinical-patient</a> search parameter and identifies the additional requirements when conforming to AU Core.</p>\n</div><table class=\"grid\"><tr><td>Resources</td><td><a href=\"http://hl7.org/fhir/R4/allergyintolerance.html\">AllergyIntolerance</a>, <a href=\"http://hl7.org/fhir/R4/careplan.html\">CarePlan</a>, <a href=\"http://hl7.org/fhir/R4/careteam.html\">CareTeam</a>, <a href=\"http://hl7.org/fhir/R4/clinicalimpression.html\">ClinicalImpression</a>, <a href=\"http://hl7.org/fhir/R4/composition.html\">Composition</a>, <a href=\"http://hl7.org/fhir/R4/condition.html\">Condition</a>, <a href=\"http://hl7.org/fhir/R4/consent.html\">Consent</a>, <a href=\"http://hl7.org/fhir/R4/detectedissue.html\">DetectedIssue</a>, <a href=\"http://hl7.org/fhir/R4/devicerequest.html\">DeviceRequest</a>, <a href=\"http://hl7.org/fhir/R4/deviceusestatement.html\">DeviceUseStatement</a>, <a href=\"http://hl7.org/fhir/R4/diagnosticreport.html\">DiagnosticReport</a>, <a href=\"http://hl7.org/fhir/R4/documentmanifest.html\">DocumentManifest</a>, <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a>, <a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</a>, <a href=\"http://hl7.org/fhir/R4/episodeofcare.html\">EpisodeOfCare</a>, <a href=\"http://hl7.org/fhir/R4/familymemberhistory.html\">FamilyMemberHistory</a>, <a href=\"http://hl7.org/fhir/R4/flag.html\">Flag</a>, <a href=\"http://hl7.org/fhir/R4/goal.html\">Goal</a>, <a href=\"http://hl7.org/fhir/R4/imagingstudy.html\">ImagingStudy</a>, <a href=\"http://hl7.org/fhir/R4/immunization.html\">Immunization</a>, <a href=\"http://hl7.org/fhir/R4/list.html\">List</a>, <a href=\"http://hl7.org/fhir/R4/medicationadministration.html\">MedicationAdministration</a>, <a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">MedicationDispense</a>, <a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a>, <a href=\"http://hl7.org/fhir/R4/medicationstatement.html\">MedicationStatement</a>, <a href=\"http://hl7.org/fhir/R4/nutritionorder.html\">NutritionOrder</a>, <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>, <a href=\"http://hl7.org/fhir/R4/procedure.html\">Procedure</a>, <a href=\"http://hl7.org/fhir/R4/riskassessment.html\">RiskAssessment</a>, <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>, <a href=\"http://hl7.org/fhir/R4/supplydelivery.html\">SupplyDelivery</a>, <a href=\"http://hl7.org/fhir/R4/visionprescription.html\">VisionPrescription</a></td></tr><tr><td>Expression</td><td><code>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</code></td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: The parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: The parameter may have multiple values (separated by comma) where at least one must be true</li></ul></td></tr><tr><td>Chains</td><td>Allowed: identifier</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 2
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"^^xsd:anyURI ;
           fhir:l <http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org.au/fhir/core/SearchParameter/au-core-clinical-patient"^^xsd:anyURI ;
     fhir:l <http://hl7.org.au/fhir/core/SearchParameter/au-core-clinical-patient>
  ] ; # 
  fhir:version [ fhir:v "2.0.1-ci-build"] ; # 
  fhir:name [ fhir:v "AUCoreClinicalPatient"] ; # 
  fhir:derivedFrom [
     fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/SearchParameter/clinical-patient>
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-04-29T05:17:41+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 Australia"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 Australia FHIR Work Group" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://confluence.hl7.org/display/HAFWG" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This SearchParameter describes the rules on the clinical-patient search parameter in AU Core. It is based on the FHIR [clinical-patient](https://hl7.org/fhir/R4/searchparameter-registry.html#clinical-patient) search parameter and identifies the additional requirements when conforming to AU Core."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "AU" ]
     ] )
  ] ) ; # 
  fhir:code [ fhir:v "patient"] ; # 
  fhir:base ( [ fhir:v "AllergyIntolerance"] [ fhir:v "CarePlan"] [ fhir:v "CareTeam"] [ fhir:v "ClinicalImpression"] [ fhir:v "Composition"] [ fhir:v "Condition"] [ fhir:v "Consent"] [ fhir:v "DetectedIssue"] [ fhir:v "DeviceRequest"] [ fhir:v "DeviceUseStatement"] [ fhir:v "DiagnosticReport"] [ fhir:v "DocumentManifest"] [ fhir:v "DocumentReference"] [ fhir:v "Encounter"] [ fhir:v "EpisodeOfCare"] [ fhir:v "FamilyMemberHistory"] [ fhir:v "Flag"] [ fhir:v "Goal"] [ fhir:v "ImagingStudy"] [ fhir:v "Immunization"] [ fhir:v "List"] [ fhir:v "MedicationAdministration"] [ fhir:v "MedicationDispense"] [ fhir:v "MedicationRequest"] [ fhir:v "MedicationStatement"] [ fhir:v "NutritionOrder"] [ fhir:v "Observation"] [ fhir:v "Procedure"] [ fhir:v "RiskAssessment"] [ fhir:v "ServiceRequest"] [ fhir:v "SupplyDelivery"] [ fhir:v "VisionPrescription"] ) ; # 
  fhir:type [ fhir:v "reference"] ; # 
  fhir:expression [ fhir:v "AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient"] ; # 
  fhir:target ( [ fhir:v "Patient"] ) ; # 
  fhir:multipleOr [
     fhir:v true ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "MAY"
       ]
     ] )
  ] ; # 
  fhir:multipleAnd [
     fhir:v true ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "MAY"
       ]
     ] )
  ] ; # 
  fhir:chain ( [
     fhir:v "identifier" ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "SHOULD"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

