CDC MME CQL Calculator
3.0.0 - release

This page is part of the CDC Opioid MME Calculator (v3.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Conversion Factors Tests - Patient - 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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "cft-example"];
  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 \"cft-example\" </p></div><p><b>identifier</b>: Medical record number: 12345 (USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN)</p><p><b>telecom</b>: ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1974-12-25</p><p><b>deceased</b>: false</p><p><b>address</b>: 534 Erewhon St PeasantVille, Utah 84414(HOME)</p><p><b>maritalStatus</b>: Married <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/2.1.0/CodeSystem-v3-MaritalStatus.html\">MaritalStatus</a>#M)</span></p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Relationship</b></td><td><b>Name</b></td><td><b>Telecom</b></td><td><b>Address</b></td><td><b>Gender</b></td><td><b>Period</b></td></tr><tr><td>*</td><td>Next-of-Kin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/2.1.0/CodeSystem-v2-0131.html\">contactRole2</a>#N)</span></td><td>Bénédicte du Marché </td><td><a href=\"tel:+33(237)998327\">+33 (237) 998327</a></td><td>534 Erewhon St PleasantVille VT 3999 (HOME)</td><td>female</td><td>2012-01-01 --&gt; (ongoing)</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 "urn:oid:1.2.36.146.595.217.0.1" ];
     fhir:Identifier.value [ fhir:value "12345" ];
     fhir:Identifier.period [
       fhir:Period.start [ fhir:value "2001-05-06"^^xsd:date ]     ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Acme Healthcare" ]     ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Chalmers" ];
     fhir:HumanName.given [
       fhir:value "Peter";
       fhir:index 0     ], [
       fhir:value "James";
       fhir:index 1     ]
  ], [
     fhir:index 1;
     fhir:HumanName.use [ fhir:value "usual" ];
     fhir:HumanName.family [ fhir:value "Chalmers" ];
     fhir:HumanName.given [
       fhir:value "Jim";
       fhir:index 0     ]
  ], [
     fhir:index 2;
     fhir:HumanName.use [ fhir:value "maiden" ];
     fhir:HumanName.family [ fhir:value "Windsor" ];
     fhir:HumanName.given [
       fhir:value "Peter";
       fhir:index 0     ], [
       fhir:value "James";
       fhir:index 1     ];
     fhir:HumanName.period [
       fhir:Period.end [ fhir:value "2002"^^xsd:gYear ]     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
     fhir:ContactPoint.use [ fhir:value "work" ];
     fhir:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 3410 5613" ];
     fhir:ContactPoint.use [ fhir:value "mobile" ];
     fhir:ContactPoint.rank [ fhir:value "2"^^xsd:positiveInteger ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "(03) 5555 8834" ];
     fhir:ContactPoint.use [ fhir:value "old" ];
     fhir:ContactPoint.period [
       fhir:Period.end [ fhir:value "2014"^^xsd:gYear ]     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [
     fhir:value "1974-12-25"^^xsd:date;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-birthTime" ];
       fhir:Extension.valueDateTime [ fhir:value "1974-12-25T14:35:45-05:00"^^xsd:dateTime ]     ]
  ];
  fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.type [ fhir:value "both" ];
     fhir:Address.text [ fhir:value "534 Erewhon St PeasantVille, Utah 84414" ];
     fhir:Address.line [
       fhir:value "534 Erewhon St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "PleasantVille" ];
     fhir:Address.district [ fhir:value "Rainbow" ];
     fhir:Address.state [ fhir:value "UT" ];
     fhir:Address.postalCode [ fhir:value "84414" ];
     fhir:Address.period [
       fhir:Period.start [ fhir:value "1974-12-25"^^xsd:date ]     ]
  ];
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
       fhir:Coding.code [ fhir:value "M" ]     ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.relationship [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
         fhir:Coding.code [ fhir:value "N" ]       ]     ];
     fhir:Patient.contact.name [
       fhir:HumanName.family [
         fhir:value "du Marché";
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" ];
           fhir:Extension.valueString [ fhir:value "VV" ]         ]       ];
       fhir:HumanName.given [
         fhir:value "Bénédicte";
         fhir:index 0       ]     ];
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "+33 (237) 998327" ]     ];
     fhir:Patient.contact.address [
       fhir:Address.use [ fhir:value "home" ];
       fhir:Address.type [ fhir:value "both" ];
       fhir:Address.line [
         fhir:value "534 Erewhon St";
         fhir:index 0       ];
       fhir:Address.city [ fhir:value "PleasantVille" ];
       fhir:Address.district [ fhir:value "Rainbow" ];
       fhir:Address.state [ fhir:value "VT" ];
       fhir:Address.postalCode [ fhir:value "3999" ];
       fhir:Address.period [
         fhir:Period.start [ fhir:value "1974-12-25"^^xsd:date ]       ]     ];
     fhir:Patient.contact.gender [ fhir:value "female" ];
     fhir:Patient.contact.period [
       fhir:Period.start [ fhir:value "2012"^^xsd:gYear ]     ]
  ].

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

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