@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.nhs.uk/England/RAD/Bundle/NRLSearchDiagnosticReports> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "NRLSearchDiagnosticReports"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
     fhir:relation [ fhir:v "self" ] ;
     fhir:url [ fhir:v "https://example.nhs.uk/FHIR/R4/DiagnosticReport?_id=ABCD"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "http://example.org/fhir/DiagnosticReport/DiagnosticReportImagingReportNRL"^^xsd:anyURI ] ;
     fhir:resource ( <http://example.org/fhir/DiagnosticReport/DiagnosticReportImagingReportNRL> ) ;
     fhir:search [
       fhir:mode [ fhir:v "match" ]
     ]
  ] ) . # 

<http://example.org/fhir/DiagnosticReport/DiagnosticReportImagingReportNRL> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "DiagnosticReportImagingReportNRL"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_DiagnosticReportImagingReportNRL\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport DiagnosticReportImagingReportNRL</b></p><a name=\"DiagnosticReportImagingReportNRL\"> </a><a name=\"hcDiagnosticReportImagingReportNRL\"> </a><a name=\"DiagnosticReportImagingReportNRL-en-GB\"> </a><h2><span title=\"Codes:{http://snomed.info/sct 371525003}\">Clinical procedure report (record artifact)</span> (<span title=\"Codes:{http://snomed.info/sct 16310003}\">Ultrasound</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>Unable to get Patient Details</td></tr><tr><td>Reported</td><td>2023-09-07 11:45:41+1100</td></tr><tr><td>Performer</td><td> LEEDS TEACHING HOSPITALS NHS TRUST (Identifier: <code>https://fhir.nhs.uk/Id/ods-organization-code</code>/RR8)</td></tr><tr><td>Identifiers</td><td> Accession-Number/Y05868.123456789 Version-Identifier/1.0</td></tr></table><p><b>Report Details</b></p><p>Normal - no action</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:code [ fhir:v "Accession-Number" ]
       ] )
     ] ;
     fhir:value [ fhir:v "Y05868.123456789" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:code [ fhir:v "Version-Identifier" ]
       ] )
     ] ;
     fhir:value [ fhir:v "1.0" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:16310003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "16310003" ] ;
       fhir:display [ fhir:v "Ultrasound" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:371525003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "371525003" ] ;
       fhir:display [ fhir:v "Clinical procedure report (record artifact)" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.nhs.uk/Id/nhs-number"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "9912003888" ]
     ] ;
     fhir:display [ fhir:v "Richard SMITH" ]
  ] ; # 
  fhir:issued [ fhir:v "2023-09-07T11:45:41+11:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.nhs.uk/Id/ods-organization-code"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "RR8" ]
     ] ;
     fhir:display [ fhir:v "LEEDS TEACHING HOSPITALS NHS TRUST" ]
  ] ) ; # 
  fhir:resultsInterpreter ( [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.hl7.org.uk/Id/gmc-number"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "C1234567" ]
     ] ;
     fhir:display [ fhir:v "FICTITIOUS, Ralph" ]
  ] ) ; # 
  fhir:conclusion [ fhir:v "Normal - no action"] . # 

# -------------------------------------------------------------------------------------

