@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://terminology.hl7.org/v2plusvocab/CodeSystem/v2CS-relationshipType> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2CS-relationshipType"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>Include all codes defined in <a href=\"CodeSystem-v2CS-relationshipType.html\"><code>http://terminology.hl7.org/v2plusvocab/CodeSystem/v2CS-relationshipType</code></a></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "2.9"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "generate correct history somehow"
     ]
  ] [
     fhir:url [
       fhir:v "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "0948"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/v2CS-relationshipType"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/v2CS-relationshipType>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.448" ]
  ] [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/v2-0948" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "V2CS-relationshipType"] ; # 
  fhir:title [ fhir:v "Relationship Type (2.9 - 1.0.0)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2026-03-13T11:11:50+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7/FO"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7/FO" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "HL7-defined code system of concepts that identify the type of relationship identified by Relationship Instance Identifier (REL-3) that is established between the Source Information Instance (REL-4)  and the Target Information Instance (REL-5)."] ; # 
  fhir:copyright [ fhir:v "HL7 Inc., 2026"] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:compositional [ fhir:v false] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "versionIntroduced" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced>
     ] ;
     fhir:description [ fhir:v "version when was this code introduced" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "versionDeprecated" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated>
     ] ;
     fhir:description [ fhir:v "version when was this code deprecated" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#status>
     ] ;
     fhir:description [ fhir:v "A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "comment" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment>
     ] ;
     fhir:description [ fhir:v "A string that provides additional detail pertinent to the use or understanding of the concept" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "usage" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage>
     ] ;
     fhir:description [ fhir:v "usage notes for this code" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "modified" ] ;
     fhir:uri [
       fhir:v "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified>
     ] ;
     fhir:description [ fhir:v "date of last modification" ] ;
     fhir:type [ fhir:v "dateTime" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "CAUS" ] ;
     fhir:display [ fhir:v "Causes/caused" ] ;
     fhir:definition [ fhir:v "Source universal service identifier causes/caused the outcome(s) on the target" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: a procedure caused  complication(s)"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "COMP" ] ;
     fhir:display [ fhir:v "Component of" ] ;
     fhir:definition [ fhir:v "Target universal service identifier is a component of source universal identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: one care plan activity (target) is a component of another care plan activity (source)"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "CONCR" ] ;
     fhir:display [ fhir:v "Concurrently" ] ;
     fhir:definition [ fhir:v "Source and target universal service identifier should start concurrently" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: two care plan activities should start concurrently"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "EVID" ] ;
     fhir:display [ fhir:v "Evidence" ] ;
     fhir:definition [ fhir:v "Source universal service identifier provides evidence for target universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: observation result provides evidence for certain care plan activity or treatment action"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "INTF" ] ;
     fhir:display [ fhir:v "Interferes / interfered" ] ;
     fhir:definition [ fhir:v "Source universal service identifier interferes / interfered with fulfilment of target universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: patient financial or physical constraints interferes / interfered with fulfilment of goal"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "LIMIT" ] ;
     fhir:display [ fhir:v "Limits/limited" ] ;
     fhir:definition [ fhir:v "Source universal service identifier limits/limited the fulfillment of target universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: patient condition limits the extend that planned treatment can be implemented"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "SUCCD" ] ;
     fhir:display [ fhir:v "Succeeds" ] ;
     fhir:definition [ fhir:v "Target universal service identifier should succeed (starts after end of) source universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: one care plan activity (target) should start after completion of another (source)"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "SVTGT" ] ;
     fhir:display [ fhir:v "Service target" ] ;
     fhir:definition [ fhir:v "Target universal service identifier is the object of the service identified by the source universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: An order requests clarification or interpretation of a previous clinical laboratory test result"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] [
     fhir:code [ fhir:v "TRIG" ] ;
     fhir:display [ fhir:v "Triggers/triggered" ] ;
     fhir:definition [ fhir:v "Source universal service identifier triggers action of target universal service identifier" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "comment" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Example: a bleeding complication triggers the review and change in anti-coagulant dosage"
       ]
     ] [
       fhir:code [ fhir:v "modified" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-25"^^xsd:date
       ]
     ] [
       fhir:code [ fhir:v "versionIntroduced" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.9"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

