@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/ddi> a fhir:DetectedIssue ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ddi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p><b>Severity: High</b> - Risk of internal bleeding</p>\n      <p>Those who take acetaminophen along with the widely used blood-thinning drug warfarin may face the risk of serious internal bleeding. People on warfarin who take acetaminophen for at least seven days in a row should be closely watched for bleeding.</p>\n      <ul>\n        <li><a href=\"MedicationStatement/tylenol\">500 mg Acetaminophen tablet 1/day, PRN since 2010</a></li>\n        <li><a href=\"MedicationRequest/warfarin\">Warfarin 1 MG TAB prescribed Jan. 5, 2014</a></li>\n      </ul>\n      <p>Mitigation: Jan 5, 2014 by Dr. Adam Careful: </p>\n      <p>Asked patient to discontinue regular use of Tylenol and to consult with clinician if they need to resume to allow appropriate INR monitoring</p>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     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 "DRG" ] ;
       fhir:display [ fhir:v "Drug Interaction Alert" ]
     ] )
  ] ) ; # 
  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 "DRG" ] ;
       fhir:display [ fhir:v "Drug Interaction Alert" ]
     ] )
  ] ; # 
  fhir:severity [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/detectedissue-severity"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/detectedissue-severity>
       ] ;
       fhir:code [ fhir:v "high" ] ;
       fhir:display [ fhir:v "High" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Device/example> ;
     fhir:reference [ fhir:v "Device/example" ]
  ] ; # 
  fhir:identified [
     a fhir:DateTime ;
     fhir:v "2014-01-05"^^xsd:date
  ] ; # 
  fhir:implicated ( [
     fhir:l <http://hl7.org/fhir/MedicationStatement/example001> ;
     fhir:reference [ fhir:v "MedicationStatement/example001" ] ;
     fhir:display [ fhir:v "500 mg Acetaminophen tablet 1/day, PRN since 2010" ]
  ] [
     fhir:l <http://hl7.org/fhir/MedicationRequest/medrx0331> ;
     fhir:reference [ fhir:v "MedicationRequest/medrx0331" ] ;
     fhir:display [ fhir:v "Warfarin 1 MG TAB prescribed Jan. 15, 2015" ]
  ] ) ; # 
  fhir:detail [ fhir:v "Risk of internal bleeding.  Those who take acetaminophen along with the widely used blood-thinning drug warfarin may face the risk of serious internal bleeding. People on warfarin who take acetaminophen for at least seven days in a row should be closely watched for bleeding."] ; # 
  fhir:mitigation ( [
     fhir:action [
       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 "13" ] ;
         fhir:display [ fhir:v "Stopped Concurrent Therapy" ]
       ] ) ;
       fhir:text [ fhir:v "Asked patient to discontinue regular use of Tylenol and to consult with clinician if they need to resume to allow appropriate INR monitoring" ]
     ] ;
     fhir:date [ fhir:v "2014-01-05"^^xsd:date ] ;
     fhir:author [
       fhir:l <http://hl7.org/fhir/Practitioner/example> ;
       fhir:reference [ fhir:v "Practitioner/example" ] ;
       fhir:display [ fhir:v "Dr. Adam Careful" ]
     ]
  ] ) . # 

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

<http://hl7.org/fhir/MedicationStatement/example001> a fhir:MedicationStatement .

<http://hl7.org/fhir/MedicationRequest/medrx0331> a fhir:MedicationRequest .

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

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

