HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU Ballot 1

This page is part of the HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU1 (v0.9.1: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

Example: mCODETNMPathologicStageGroupExample01

@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 "mCODETNMPathologicStageGroupExample01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-TNMPathologicStageGroup";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/onco-core-TNMPathologicStageGroup>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>*** mCODE Example: TNM Pathologic Stage Group ***</b></p><p><b>Name</b>: John B. Anyperson </p><p><b>MRN</b>: m123 </p><p><b>Date</b>: 04/01/19 </p><p><b>Cancer staging system</b>: AJCC Version 8</p><p><b>Stage group</b>: IIIC</p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "laboratory" ]     ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:21902-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "21902-2" ];
       fhir:Coding.display [ fhir:value "Stage group.pathology Cancer" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/mCODEPatientExample01" ];
     fhir:Reference.display [ fhir:value "John B. Anyperson" ]
  ];
  fhir:Observation.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Condition/mCODEPrimaryCancerConditionExample01" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2019-04-01"^^xsd:date];
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://cancerstaging.org" ];
       fhir:Coding.code [ fhir:value "3C" ];
       fhir:Coding.display [ fhir:value "IIIC" ]     ]
  ];
  fhir:Observation.method [
     fhir:CodeableConcept.text [ fhir:value "AJCC Version 8" ]
  ];
  fhir:Observation.hasMember [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/mCODETNMPathologicPrimaryTumorCategoryExample01" ]
  ], [
     fhir:index 1;
     fhir:Reference.reference [ fhir:value "Observation/mCODETNMPathologicRegionalNodesCategoryExample01" ]
  ], [
     fhir:index 2;
     fhir:Reference.reference [ fhir:value "Observation/mCODETNMPathologicDistantMetastasesCategoryExample01" ]
  ].

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

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