@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/DetectedIssue/duplicate> a fhir:DetectedIssue ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "duplicate"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Similar test was performed within the past 14 days</p>\n      <ul>\n        <li>\n          <a href=\"ServiceRequest/id\">Chest CT - ordered May 8, 2013 by Dr. Adam Careful</a>\n        </li>\n        <li>\n          <a href=\"ImagingStudy/example\">Image 1 from Series 3: CT Images on Patient MINT (MINT1234) taken at 1-Jan 2011 01:20 AM</a>\n        </li>\n      </ul>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [
       fhir:v "http://example.org"^^xsd:anyURI ;
       fhir:l <http://example.org>
     ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ;
       fhir:code [ fhir:v "DUPTHPY" ] ;
       fhir:display [ fhir:v "Duplicate Therapy Alert" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/dicom> ;
     fhir:reference [ fhir:v "Patient/dicom" ]
  ] ; # 
  fhir:identified [
     a fhir:DateTime ;
     fhir:v "2013-05-08"^^xsd:date
  ] ; # 
  fhir:author [
     fhir:l <http://hl7.org/fhir/Device/example> ;
     fhir:reference [ fhir:v "Device/example" ]
  ] ; # 
  fhir:implicated ( [
     fhir:l <http://hl7.org/fhir/ServiceRequest/di> ;
     fhir:reference [ fhir:v "ServiceRequest/di" ] ;
     fhir:display [ fhir:v "Chest CT - ordered May 8, 2013 by Dr. Adam Careful" ]
  ] [
     fhir:l <http://hl7.org/fhir/ImagingStudy/example> ;
     fhir:reference [ fhir:v "ImagingStudy/example" ] ;
     fhir:display [ fhir:v "Image 1 from Series 3: CT Images on Patient MINT (MINT1234) taken at 1-Jan 2011 01:20 AM" ]
  ] ) ; #   test 1  
  fhir:detail [ fhir:v "Similar test was performed within the past 14 days"] ; # 
  fhir:reference [
     fhir:v "http://www.tmhp.com/RadiologyClinicalDecisionSupport/2011/CHEST%20IMAGING%20GUIDELINES%202011.pdf"^^xsd:anyURI ;
     fhir:l <http://www.tmhp.com/RadiologyClinicalDecisionSupport/2011/CHEST%20IMAGING%20GUIDELINES%202011.pdf>
  ] . # 

<http://hl7.org/fhir/Patient/dicom> a fhir:Patient .

<http://hl7.org/fhir/Device/example> a fhir:Device .

<http://hl7.org/fhir/ServiceRequest/di> a fhir:ServiceRequest .

<http://hl7.org/fhir/ImagingStudy/example> a fhir:ImagingStudy .

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

