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

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

mCODEPatientExample01 - TTL Representation

(back to description)

Raw ttl

Source view

@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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "mCODEPatientExample01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient>     ]
  ];
  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>: mCODEPatientExample01</p><p><b>meta</b>: </p><p><b>identifier</b>: Medical record number = m123 (USUAL)</p><p><b>name</b>: John B. Anyperson </p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1951-01-20</p><p><b>address</b>: 123 Main St Anytown 12345 US </p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Telecom</b></td></tr><tr><td>*</td><td>ph: 555-555-5555(HOME)</td></tr></table><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td>English <span style=\"background: LightGoldenRodYellow\">(Details : {urn:ietf:bcp:47 code 'en-US' = 'English (Region=United States))</span></td></tr></table></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.example.org" ];
     fhir:Identifier.value [ fhir:value "m123" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Anyperson" ];
     fhir:HumanName.given [
       fhir:value "John";
       fhir:index 0     ], [
       fhir:value "B.";
       fhir:index 1     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1951-01-20"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "123 Main St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Anytown" ];
     fhir:Address.postalCode [ fhir:value "12345" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
       fhir:ContactPoint.use [ fhir:value "home" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "john.anyperson@example.com" ]     ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en-US" ]       ];
       fhir:CodeableConcept.text [ fhir:value "English" ]     ]
  ].

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

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