minimal Common Oncology Data Elements (mCODE) Implementation Guide
2.0.0 - STU 2

This page is part of the HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU1 (v2.0.0: STU 2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: mCODE Patient Group Example - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Group;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "group-mcode-patients"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-patient-group";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-patient-group>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"group-mcode-patients\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mcode-patient-group.html\">mCODE Patient Group Profile</a></p></div><p><b>type</b>: person</p><p><b>actual</b>: true</p><p><b>code</b>: Cancer Patient <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (Thesaurus.owl#C19700)</span></p><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-cancer-patient-john-anyperson.html\">Patient/cancer-patient-john-anyperson</a> \" ANYPERSON\"</p></blockquote><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-cancer-patient-eve-anyperson.html\">Patient/cancer-patient-eve-anyperson</a> \" ANYPERSON\"</p></blockquote></div>"
  ];
  fhir:Group.type [ fhir:value "person"];
  fhir:Group.actual [ fhir:value "true"^^xsd:boolean];
  fhir:Group.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl" ];
       fhir:Coding.code [ fhir:value "C19700" ];
       fhir:Coding.display [ fhir:value "Cancer Patient" ]     ]
  ];
  fhir:Group.member [
     fhir:index 0;
     fhir:Group.member.entity [
       fhir:Reference.reference [ fhir:value "Patient/cancer-patient-john-anyperson" ]     ]
  ], [
     fhir:index 1;
     fhir:Group.member.entity [
       fhir:Reference.reference [ fhir:value "Patient/cancer-patient-eve-anyperson" ]     ]
  ].

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

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