Standard Death Record

Example: DeathRecordContents

@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:Composition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "DeathRecordContents"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/sdr-deathRecord-DeathRecordContents";
       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>: DeathRecordContents</p><p><b>meta</b>: </p><p><b>status</b>: amended</p><p><b>type</b>: Death certificate <span style=\"background: LightGoldenRodYellow\">(Details : {LOINC code '64297-5' = 'Death certificate', given as 'Death certificate'})</span></p><p><b>date</b>: Apr 30, 2018 10:11:05 AM</p><p><b>author</b>: <a href=\"Practitioner-Certifier.html\">Generated Summary: id: Certifier; 10231 (OFFICIAL); Edward M. Stone </a></p><p><b>title</b>: Record of Death</p></div>"
  ];
  fhir:Composition.status [ fhir:value "amended"];
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:64297-5;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "64297-5" ];
       fhir:Coding.display [ fhir:value "Death certificate" ]     ]
  ];
  fhir:Composition.subject [
     fhir:Reference.reference [ fhir:value "Patient/Decedent" ]
  ];
  fhir:Composition.date [ fhir:value "2018-04-30T10:11:05-05:00"^^xsd:dateTime];
  fhir:Composition.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/Certifier" ]
  ];
  fhir:Composition.title [ fhir:value "Record of Death"];
  fhir:Composition.section [
     fhir:index 0;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:69453-9;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "69453-9" ];
         fhir:Coding.display [ fhir:value "Cause of death" ]       ]     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:Reference.reference [ fhir:value "Observation/ActualOrPresumedDateOfDeath" ]     ], [
       fhir:index 1;
       fhir:Reference.reference [ fhir:value "Observation/AutopsyPerformed" ]     ], [
       fhir:index 2;
       fhir:Reference.reference [ fhir:value "Observation/AutopsyResultsAvailable" ]     ], [
       fhir:index 3;
       fhir:Reference.reference [ fhir:value "Condition/CauseOfDeathCondition" ]     ], [
       fhir:index 4;
       fhir:Reference.reference [ fhir:value "Observation/DatePronouncedDead" ]     ], [
       fhir:index 5;
       fhir:Reference.reference [ fhir:value "Observation/DeathFromWorkInjury" ]     ], [
       fhir:index 6;
       fhir:Reference.reference [ fhir:value "Observation/MannerOfDeath" ]     ], [
       fhir:index 7;
       fhir:Reference.reference [ fhir:value "Observation/MedicalExaminerContacted" ]     ], [
       fhir:index 8;
       fhir:Reference.reference [ fhir:value "Observation/TimingOfRecentPregnancyInRelationToDeath" ]     ], [
       fhir:index 9;
       fhir:Reference.reference [ fhir:value "Observation/TobaccoUseContributedToDeath" ]     ]
  ].

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

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