Standard Death Record

Example: TobaccoUseContributedToDeath

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 -------------------------------------------------------------------

 a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "TobaccoUseContributedToDeath"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/sdr-causeOfDeath-TobaccoUseContributedToDeath";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: TobaccoUseContributedToDeath</p><p><b>meta</b>: </p><p><b>status</b>: final</p><p><b>code</b>: Did tobacco use contribute to death <span style=\"background: LightGoldenRodYellow\">(Details : {LOINC code '69443-0' = 'Did tobacco use contribute to death', given as 'Did tobacco use contribute to death'})</span></p><p><b>subject</b>: <a href=\"Patient-Decedent.html\">Generated Summary: id: Decedent; Social Beneficiary Identifier = 123-45-6789 (OFFICIAL); John L. Palmer(OFFICIAL); gender: male; birthDate: Apr 23, 1911; deceased</a></p><p><b>value</b>: Unknown <span style=\"background: LightGoldenRodYellow\">(Details : {http://hl7.org/fhir/v3/NullFlavor code 'UNK' = 'unknown', given as 'Unknown'})</span></p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:69443-0;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "69443-0" ];
       fhir:Coding.display [ fhir:value "Did tobacco use contribute to death" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/Decedent" ]
  ];
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/NullFlavor" ];
       fhir:Coding.code [ fhir:value "UNK" ];
       fhir:Coding.display [ fhir:value "Unknown" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.