@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/ImagingSelection/example-documentreference-selection> a fhir:ImagingSelection ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-documentreference-selection"] ; # 
  fhir:status [ fhir:v "available"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Diagram image selection" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/xcda> ;
     fhir:reference [ fhir:v "Patient/xcda" ]
  ] ; # 
  fhir:basedOn ( [
     fhir:type [
       fhir:v "ServiceRequest"^^xsd:anyURI ;
       fhir:l fhir:ServiceRequest
     ] ;
     fhir:identifier [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
           ] ;
           fhir:code [ fhir:v "ACSN" ]
         ] )
       ] ;
       fhir:value [ fhir:v "W12342398" ] ;
       fhir:assigner [
         fhir:l <http://hl7.org/fhir/Organization/dicom-organization> ;
         fhir:reference [ fhir:v "Organization/dicom-organization" ]
       ]
     ]
  ] [
     fhir:l <http://hl7.org/fhir/ServiceRequest/example> ;
     fhir:reference [ fhir:v "ServiceRequest/example" ]
  ] ) ; # 
  fhir:derivedFrom [
     fhir:l <http://hl7.org/fhir/DocumentReference/example-diagram> ;
     fhir:reference [ fhir:v "DocumentReference/example-diagram" ]
  ] . # 

<http://hl7.org/fhir/Patient/xcda> a fhir:Patient .

<http://hl7.org/fhir/Organization/dicom-organization> a fhir:Organization .

<http://hl7.org/fhir/ServiceRequest/example> a fhir:ServiceRequest .

<http://hl7.org/fhir/DocumentReference/example-diagram> a fhir:DocumentReference .

# -------------------------------------------------------------------------------------

