minimal Common Oncology Data Elements (mCODE) Implementation Guide
1.16.0 - STU Release 2 (Ballot Version)

This page is part of the HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU1 (v1.16.0: STU 2 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

: 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><p><b>type</b>: person</p><p><b>actual</b>: true</p><p><b>code</b>: <span title=\"Codes: {http://hl7.org/fhir/us/mcode/CodeSystem/mcode-resource-identifier-cs mcode-patient}\">mCODE Patient Group Resource</span></p><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-cancer-patient-john-anyperson.html\">Generated Summary: Medical Record Number: m123 (USUAL); John B. Anyperson ; gender: male; birthDate: 1951-01-20</a></p></blockquote><blockquote><p><b>member</b></p><p><b>entity</b>: <a href=\"Patient-cancer-patient-eve-anyperson.html\">Generated Summary: Medical Record Number: m456 (USUAL); Eve A. Anyperson ; gender: female; birthDate: 1955-05-20</a></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://hl7.org/fhir/us/mcode/CodeSystem/mcode-resource-identifier-cs" ];
       fhir:Coding.code [ fhir:value "mcode-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.