@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://canshare.co.nz/fhir/Observation/ExObservationGleason> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExObservationGleason"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://canshare.co.nz/fhir/StructureDefinition/an-gleason" ;
       fhir:index 0 ;
       fhir:link <http://canshare.co.nz/fhir/StructureDefinition/an-gleason>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Gleason score</div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct/21000210109" ] ;
       fhir:Coding.code [ fhir:value "372278000" ] ;
       fhir:Coding.display [ fhir:value "Gleason score (observable entity)" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://canshare.co.nz/fhir/Patient/exPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/exPatient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2020-01-01"^^xsd:date] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct/21000210109" ] ;
         fhir:Coding.code [ fhir:value "384994009" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://canshare.co.nz/fhir/Observation/ExObservationGleason.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

