@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/fhir/SubscriptionTopic/admission-lm> a fhir:SubscriptionTopic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "admission-lm"] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://example.org/FHIR/SubscriptionTopic/admission-lm"^^xsd:anyURI ;
     fhir:l <http://example.org/FHIR/SubscriptionTopic/admission-lm>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:uuid:44c36873-5167-4b17-a15d-df4f8cb51343" ]
  ] ) ; # 
  fhir:title [ fhir:v "admission-lm"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example admission topic using a Logical Model"] ; # 
  fhir:trigger ( [
     fhir:description [ fhir:v "Logical Model of Admission being created or updated into an `in-progress` state" ] ;
     fhir:resource [
       fhir:v "http://example.org/LogicalModels/Admission"^^xsd:anyURI ;
       fhir:l <http://example.org/LogicalModels/Admission>
     ] ;
     fhir:supportedInteraction ( [ fhir:v "create" ] [ fhir:v "update" ] ) ;
     fhir:event [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0003"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0003>
         ] ;
         fhir:code [ fhir:v "A01" ] ;
         fhir:display [ fhir:v "ADT/ACK - Admit/visit notification" ]
       ] )
     ] ;
     fhir:canFilterBy ( [
       fhir:description [ fhir:v "Matching based on the Patient. Input is expected to be a search `token` and match against the ID of the patient." ] ;
       fhir:resource [
         fhir:v "http://example.org/LogicalModels/Admission"^^xsd:anyURI ;
         fhir:l <http://example.org/LogicalModels/Admission>
       ] ;
       fhir:filterParameter [ fhir:v "Patient" ] ;
       fhir:filterDefinition [
         fhir:v "http://example.org/LogicalModels/Admission/Match_Patient"^^xsd:anyURI ;
         fhir:l <http://example.org/LogicalModels/Admission/Match_Patient>
       ]
     ] [
       fhir:description [ fhir:v "Matching based on the Patient Group. Input is expected to be a `string` and match against the logical group name where a patient has membership." ] ;
       fhir:resource [
         fhir:v "http://example.org/LogicalModels/Admission"^^xsd:anyURI ;
         fhir:l <http://example.org/LogicalModels/Admission>
       ] ;
       fhir:filterParameter [ fhir:v "PatientGroup" ] ;
       fhir:filterDefinition [
         fhir:v "http://example.org/LogicalModels/Admission/Match_Patient_Group"^^xsd:anyURI ;
         fhir:l <http://example.org/LogicalModels/Admission/Match_Patient_Group>
       ]
     ] ) ;
     fhir:notificationShape ( [
       fhir:resource [
         fhir:v "http://example.org/LogicalModels/Admission"^^xsd:anyURI ;
         fhir:l <http://example.org/LogicalModels/Admission>
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

