@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 -------------------------------------------------------------------

<https://fhir.acmeexample.org.uk/PatientCareCoordination/Patient/Patient-Tameside> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Patient-Tameside"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Patient" ;
       fhir:index -1 ;
       fhir:link <https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Patient>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient Patient-Tameside</b></p><a name=\"Patient-Tameside\"> </a><a name=\"hcPatient-Tameside\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-Patient.html\">Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Medical record number/B6789012</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Stockport Road Tameside OL7 0NS </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: HT PRACTICE (Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/P89020)</li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NH" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
     fhir:Identifier.value [ fhir:value "9737383397" ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MR" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://fhir.mft.nhs.uk/Id/mrn" ] ;
     fhir:Identifier.value [ fhir:value "B6789012" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "R0A" ]
       ]
     ]
  ] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.family [ fhir:value "TAMESIDE" ] ;
     fhir:HumanName.given [
       fhir:value "Hodor" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1960-07-27"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index -1 ;
     fhir:Address.line [
       fhir:value "Stockport Road" ;
       fhir:index -1
     ] ;
     fhir:Address.city [ fhir:value "Tameside" ] ;
     fhir:Address.postalCode [ fhir:value "OL7 0NS" ]
  ] ;
  fhir:Patient.generalPractitioner [
     fhir:index -1 ;
     fhir:Reference.type [ fhir:value "Organization" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "P89020" ]
     ] ;
     fhir:Reference.display [ fhir:value "HT PRACTICE" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.acmeexample.org.uk/PatientCareCoordination/Patient/Patient-Tameside.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

