@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://example.org/fhir/eu-ai-transparency/Observation/sc-02-validation-ai-observation-risk-001> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "sc-02-validation-ai-observation-risk-001"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://example.org/fhir/eu-ai-transparency/StructureDefinition/eu-ai-observation"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/eu-ai-transparency/StructureDefinition/eu-ai-observation>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation sc-02-validation-ai-observation-risk-001</b></p><a name=\"sc-02-validation-ai-observation-risk-001\"> </a><a name=\"hcsc-02-validation-ai-observation-risk-001\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-eu-ai-observation.html\">EU AI Generated Observation</a></p></div><p><b>Case-Specific Indication</b>: <span title=\"Codes:{http://example.org/fhir/eu-ai-transparency/CodeSystem/EUAIActCodeSystem prognosis}\">Prognostic Prediction</span></p><p><b>Automated Decision-Making Flag</b>: false</p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:\">AI-assisted early warning risk assessment</span></p><p><b>subject</b>: <a href=\"Patient-patient-001.html\">Anonymous Patient Female, DoB: 1959-04-12</a></p><p><b>encounter</b>: <a href=\"Encounter-encounter-001.html\">Encounter: status = completed; class = ambulatory; actualPeriod = 2026-03-01 10:00:00+0000 --&gt; 2026-03-01 10:30:00+0000</a></p><p><b>effective</b>: 2026-03-01 10:15:03+0000</p><p><b>performer</b>: <a href=\"Organization-organization-examplehospital.html\">Organization Example Hospital</a></p><p><b>value</b>: <span title=\"Codes:\">high-risk</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://example.org/fhir/eu-ai-transparency/CodeSystem/EUAIActCodeSystem ai-generated}\">AI Generated Result</span></p><p><b>note</b>: </p><blockquote><div><p>Urgent clinical review recommended</p>\n</div></blockquote><p><b>device</b>: <a href=\"Device-device-riskassist-ai.html\">Device: extension = ,-&gt;DocumentReference: extension = Not Clinically Validated,,,; status = current; type = AI Model Card; description = Synthetic model card for a deterministic AI-output simulation component used in the PoC.; identifier = EU AI Database Identifier: EU-AI-000123; status = active; manufacturer = ExampleMed AI GmbH; contact = contact@examplemed.example(Work),dpo@examplemed.example(Work); note = Synthetic maintenance information for PoC purposes.,AI-assisted early warning risk assessment based on synthetic NEWS2-inspired vital parameters.</a></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:\">Confidence</span></p><p><b>value</b>: 0.86 1<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:\">Simplified score</span></p><p><b>value</b>: 9</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://example.org/fhir/eu-ai-transparency/StructureDefinition/case-specific-indication"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org/fhir/eu-ai-transparency/CodeSystem/EUAIActCodeSystem"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "prognosis" ] ;
         fhir:display [ fhir:v "Prognostic Prediction" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://example.org/fhir/eu-ai-transparency/StructureDefinition/automated-decision-flag"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:boolean ;
       fhir:v false
     ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:text [ fhir:v "AI-assisted early warning risk assessment" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://example.org/fhir/eu-ai-transparency/Patient/patient-001> ;
     fhir:reference [ fhir:v "Patient/patient-001" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://example.org/fhir/eu-ai-transparency/Encounter/encounter-001> ;
     fhir:reference [ fhir:v "Encounter/encounter-001" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2026-03-01T10:15:03Z"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:link <http://example.org/fhir/eu-ai-transparency/Organization/organization-examplehospital> ;
     fhir:reference [ fhir:v "Organization/organization-examplehospital" ]
  ] ) ; # 
  fhir:value [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "high-risk" ]
  ] ; # 
  fhir:interpretation ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.org/fhir/eu-ai-transparency/CodeSystem/EUAIActCodeSystem"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "ai-generated" ] ;
       fhir:display [ fhir:v "AI Generated Result" ]
     ] ) ;
     fhir:text [ fhir:v "AI Generated Result" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Urgent clinical review recommended" ]
  ] ) ; # 
  fhir:device [
     fhir:link <http://example.org/fhir/eu-ai-transparency/Device/device-riskassist-ai> ;
     fhir:reference [ fhir:v "Device/device-riskassist-ai" ]
  ] ; # 
  fhir:component ( [
     fhir:code [
       fhir:text [ fhir:v "Confidence" ]
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.86 ] ;
       fhir:unit [ fhir:v "1" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "1" ]
     ]
  ] [
     fhir:code [
       fhir:text [ fhir:v "Simplified score" ]
     ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 9
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

