US Core Implementation Guide
8.0.1 - STU 8

US Core Implementation Guide, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 8.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/US-Core/ and changes regularly. See the Directory of published versions

## : Docref Example 1 - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <https://loinc.org/rdf/> .
    @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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "docref-example-1"] ; #
      fhir:type [ fhir:v "searchset"] ; #
      fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; #
      fhir:link ( [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [
    fhir:v "http://example.org/fhir/DocumentReference/$docref?patient=123"^^xsd:anyURI ;
    fhir:l <http://example.org/fhir/DocumentReference/$docref?patient=123>     ]
      ] ) ; #
      fhir:entry ( [
    fhir:fullUrl [
    fhir:v "http://example.org/fhir/DocumentReference/ccd123"^^xsd:anyURI ;
    fhir:l <http://example.org/fhir/DocumentReference/ccd123>     ] ;
        ( fhir:resource <http://example.org/fhir/DocumentReference/ccd123> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]     ]
      ] ) . #

    <http://example.org/fhir/DocumentReference/ccd123> a fhir:DocumentReference ;
      fhir:id [ fhir:v "ccd123"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>     ] )
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.19.5.99999.1" ]
      ] ) ; #
      fhir:status [ fhir:v "current"] ; #
      fhir:type [
        ( fhir:coding [
    a loinc:34133-9 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>       ] ;
    fhir:code [ fhir:v "34133-9" ] ;
    fhir:display [ fhir:v "Summary of episode note" ]     ] ) ;
    fhir:text [ fhir:v "CCD Document" ]
      ] ; #
      fhir:category ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category>       ] ;
    fhir:code [ fhir:v "clinical-note" ] ;
    fhir:display [ fhir:v "Clinical Note" ]     ] ) ;
    fhir:text [ fhir:v "Clinical Note" ]
      ] ) ; #
      fhir:subject [
    fhir:l fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ] ;
    fhir:display [ fhir:v "Amy Shaw" ]
      ] ; #
      fhir:date [ fhir:v "2016-03-09T15:29:46Z"^^xsd:dateTime] ; #
      fhir:author ( [
    fhir:l fhir:Practitioner/practitioner-1 ;
    fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
    fhir:display [ fhir:v "Ronald Bone, MD" ]
      ] ) ; #
      fhir:description [ fhir:v "Pulmonology clinic acute visit"] ; #
      fhir:content ( [
    fhir:attachment [
    fhir:contentType [ fhir:v "text/plain" ] ;
    fhir:url [
    fhir:v "http://example.org/fhir/Binary/1-note"^^xsd:anyURI ;
    fhir:l <http://example.org/fhir/Binary/1-note>       ] ;
    fhir:title [ fhir:v "URI where the data can be found: http://example.org/fhir/Binary/1-note" ]     ] ;
    fhir:format [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/v3-HL7DocumentFormatCodes"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/v3-HL7DocumentFormatCodes>       ] ;
    fhir:code [ fhir:v "urn:hl7-org:sdwg:ccda-structuredBody:2.1" ] ;
    fhir:display [ fhir:v "ccda-structuredBody:2.1" ]     ]
      ] ) ; #
      fhir:context [
    fhir:period [
    fhir:start [ fhir:v "2004-12-23T08:00:00+11:00"^^xsd:dateTime ] ;
    fhir:end [ fhir:v "2004-12-23T08:01:00+11:00"^^xsd:dateTime ]     ]
      ] . #