Kids First Implementation Guide
0.1.0 - CI Build

Kids First Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: Kids First Patient/pt-001 - 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 "pt-001"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "0.1.0" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-07-20T20:58:16.020831+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://fhir.kids-first.io/StructureDefinition/kfdrc-patient";
       fhir:index 0;
       fhir:link <http://fhir.kids-first.io/StructureDefinition/kfdrc-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</b></p><p><b>id</b>: pt-001</p><p><b>meta</b>: </p><p><b>identifier</b>: 14999</p><p><b>name</b>: Mariah Abigail Smith(OFFICIAL)</p><p><b>telecom</b>: ph: (555) 555-5555(HOME)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 2019-01-01</p><p><b>address</b>: 3401 Civic Center Blvd., Philadelphia, PA 19104(HOME)</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></tr><tr><td>*</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v2-0131 C}\">Father</span></td><td>John Samuel Smith(OFFICIAL)</td><td>ph: (555) 555-5555(HOME)</td><td>3401 Civic Center Blvd., Philadelphia, PA 19104(HOME)</td><td>male</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2135-2" ];
         fhir:Coding.display [ fhir:value "Hispanic or Latino" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Hispanic or Latino" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2106-3" ];
         fhir:Coding.display [ fhir:value "White" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "White" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://fhir.kids-first.io/StructureDefinition/species" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://fhir.kids-first.io/CodeSystem/species" ];
         fhir:Coding.code [ fhir:value "337915000" ];
         fhir:Coding.display [ fhir:value "Homo sapiens" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Homo Sapiens" ]     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https://kf-api-dataservice.kidsfirstdrc.org/participants?study_id=SD_PREASA7S" ];
     fhir:Identifier.value [ fhir:value "14999" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.text [ fhir:value "Mariah Abigail Smith" ];
     fhir:HumanName.family [ fhir:value "Smith" ];
     fhir:HumanName.given [
       fhir:value "Mariah";
       fhir:index 0     ], [
       fhir:value "Abigail";
       fhir:index 1     ]
  ];
  fhir:Patient.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:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "2019-01-01"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.type [ fhir:value "both" ];
     fhir:Address.text [ fhir:value "3401 Civic Center Blvd., Philadelphia, PA 19104" ];
     fhir:Address.line [
       fhir:value "3401 Civic Center Blvd.";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Philadelphia" ];
     fhir:Address.state [ fhir:value "PA" ];
     fhir:Address.postalCode [ fhir:value "19104" ]
  ];
  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 "C" ];
         fhir:Coding.display [ fhir:value "Emergency Contact" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Father" ]     ];
     fhir:Patient.contact.name [
       fhir:HumanName.use [ fhir:value "official" ];
       fhir:HumanName.text [ fhir:value "John Samuel Smith" ];
       fhir:HumanName.family [ fhir:value "Smith" ];
       fhir:HumanName.given [
         fhir:value "John";
         fhir:index 0       ], [
         fhir:value "Samuel";
         fhir:index 1       ]     ];
     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:ContactPoint.rank [ fhir:value "1"^^xsd:positiveInteger ]     ];
     fhir:Patient.contact.address [
       fhir:Address.use [ fhir:value "home" ];
       fhir:Address.type [ fhir:value "both" ];
       fhir:Address.text [ fhir:value "3401 Civic Center Blvd., Philadelphia, PA 19104" ];
       fhir:Address.line [
         fhir:value "3401 Civic Center Blvd.";
         fhir:index 0       ];
       fhir:Address.city [ fhir:value "Philadelphia" ];
       fhir:Address.state [ fhir:value "PA" ];
       fhir:Address.postalCode [ fhir:value "19104" ]     ];
     fhir:Patient.contact.gender [ fhir:value "male" ]
  ].

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

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