@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://resmed.com/fhir/core/DetectedIssue/patient-alert-detectedissue-new> a fhir:DetectedIssue ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-alert-detectedissue-new"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://resmed.com/fhir/core/StructureDefinition/patient-therapy-detectedissue"^^xsd:anyURI ;
       fhir:link <http://resmed.com/fhir/core/StructureDefinition/patient-therapy-detectedissue>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DetectedIssue</b><a name=\"patient-alert-detectedissue-new\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource DetectedIssue &quot;patient-alert-detectedissue-new&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-patient-therapy-detectedissue.html\">Patient Therapy DetectedIssue Alert</a></p></div><p><b>PatientOrganization</b>: <a href=\"Organization-airview-organization.html\">Organization/airview-organization</a> &quot;SleepyLabs Sleep Clinic&quot;</p><p><b>status</b>: registered</p><p><b>code</b>: Observation Alert <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OBSA)</span></p><p><b>patient</b>: <a href=\"Patient-airview-patient.html\">Patient/airview-patient</a> &quot; SMITH&quot;</p><p><b>identified</b>: 2021-12-07 12:00:00+0000</p><p><b>author</b>: <a href=\"Device-device-ACE-example.html\">Device/device-ACE-example</a></p><blockquote><p><b>evidence</b></p><p><b>code</b>: Therapy Rule Scored <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-rmd-ruleOutcomeTypes-cs.html\">ResMed Rule Outcome Types Code System</a>#therapy-rule-scored)</span></p><p><b>detail</b>: <a href=\"Observation-ruleoutcome-therapy-issue-active.html\">Observation/ruleoutcome-therapy-issue-active</a></p></blockquote><blockquote><p><b>evidence</b></p><p><b>code</b>: Therapy Rule Scored <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-rmd-ruleOutcomeTypes-cs.html\">ResMed Rule Outcome Types Code System</a>#therapy-rule-scored)</span></p><p><b>detail</b>: <a href=\"Observation-ruleoutcome-therapy-issue-active-repeat.html\">Observation/ruleoutcome-therapy-issue-active-repeat</a></p></blockquote></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://resmed.com/fhir/core/StructureDefinition/PatientOrganization"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://resmed.com/fhir/core/Organization/airview-organization> ;
       fhir:reference [ fhir:v "Organization/airview-organization" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "registered"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "OBSA" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:link <http://resmed.com/fhir/core/Patient/airview-patient> ;
     fhir:reference [ fhir:v "Patient/airview-patient" ]
  ] ; # 
  fhir:identified [ fhir:v "2021-12-07T12:00:00Z"^^xsd:dateTime] ; # 
  fhir:author [
     fhir:link <http://resmed.com/fhir/core/Device/device-ACE-example> ;
     fhir:reference [ fhir:v "Device/device-ACE-example" ]
  ] ; # 
  fhir:evidence ( [
     fhir:code ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeTypes-cs"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "therapy-rule-scored" ]
       ] )
     ] ) ;
     fhir:detail ( [
       fhir:link <http://resmed.com/fhir/core/Observation/ruleoutcome-therapy-issue-active> ;
       fhir:reference [ fhir:v "Observation/ruleoutcome-therapy-issue-active" ]
     ] )
  ] [
     fhir:code ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeTypes-cs"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "therapy-rule-scored" ]
       ] )
     ] ) ;
     fhir:detail ( [
       fhir:link <http://resmed.com/fhir/core/Observation/ruleoutcome-therapy-issue-active-repeat> ;
       fhir:reference [ fhir:v "Observation/ruleoutcome-therapy-issue-active-repeat" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

