QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide - Downloaded Version 7.0.2 See the Directory of published versions

## : FamilyMemberHistory example - TTL Representation

Page standards status: Informative

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:FamilyMemberHistory ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: FamilyMemberHistory example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-familymemberhistory.html\">QICore FamilyMemberHistory</a></p></div><p><b>status</b>: Completed</p><p><b>patient</b>: <a href=\"Patient-example.html\">Peter Patient</a></p><p><b>date</b>: 2011-03-18 17:49:10+0000</p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode FTH}\">FATHER</span></p><h3>Conditions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>Code</b></td><td><b>Outcome</b></td><td><b>Onset[x]</b></td><td><b>Note</b></td></tr><tr><td style=\"display: none\">*</td><td/><td><span title=\"Codes:{http://snomed.info/sct 315619001}\">Family history of myocardial infarction in male relative of first degree, age known (situation)</span></td><td><span title=\"Codes:{http://snomed.info/sct 520004}\">Congenital bent nose</span></td><td>74 yr<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codea = 'a')</span></td><td><blockquote><div><p>Was fishing at the time. At least he went doing something he loved.</p>\n</div></blockquote></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:patient [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ] ;
    fhir:display [ fhir:v "Peter Patient" ]
      ] ; #
      fhir:date [ fhir:v "2011-03-18T17:49:10+00:00"^^xsd:dateTime] ; #
      fhir:relationship [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>       ] ;
    fhir:code [ fhir:v "FTH" ] ;
    fhir:display [ fhir:v "FATHER" ]     ] )
      ] ; #
      fhir:condition ( [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity>       ] ;
    fhir:value [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    a sct:399166001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>           ] ;
    fhir:code [ fhir:v "399166001" ] ;
    fhir:display [ fhir:v "Fatal" ]         ] )       ]     ] ) ;
    fhir:code [
          ( fhir:coding [
    a sct:315619001 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "315619001" ] ;
    fhir:display [ fhir:v "Family history of myocardial infarction in male relative of first degree, age known (situation)" ]       ] ) ;
    fhir:text [ fhir:v "Family history of myocardial infarction in male relative of first degree, age known (situation)" ]     ] ;
    fhir:outcome [
          ( fhir:coding [
    a sct:520004 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>         ] ;
    fhir:code [ fhir:v "520004" ] ;
    fhir:display [ fhir:v "Congenital bent nose" ]       ] )     ] ;
    fhir:onset [
    a fhir:Age ;
    fhir:value [ fhir:v "74"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "yr" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>       ] ;
    fhir:code [ fhir:v "a" ]     ] ;
        ( fhir:note [
    fhir:text [ fhir:v "Was fishing at the time. At least he went doing something he loved." ]     ] )
      ] ) . #