Release 4 R6 Ballot (1st Full Ballot)

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ) in it's permanent home (it will always be available at this URL). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 for published versions

Device-example.ttl

Example Device/example (Turtle)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative Compartments : Not linked to any defined compartments Device

Raw Turtle (+ also see Turtle/RDF Format Specification )

General Device Example

@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Device/example> a fhir:Device;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "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 with Details</b></p><p><b>id</b>: example</p><p><b>identifier</b>: 345675</p></div>"
  ];
  fhir:Device.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://goodcare.org/devices/id" ];
     fhir:Identifier.value [ fhir:value "345675" ]
  ] .

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

<http://hl7.org/fhir/Device/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Device/example.ttl> .

<http://hl7.org/fhir/Device/example> a fhir:Device ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; #  text>
#    <status value="generated"/>
#    <div xmlns="http://www.w3.org/1999/xhtml">
#      <p>example</p>
#    </div>
#  </text 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodcare.org/devices/id"^^xsd:anyURI ;
       fhir:l <http://goodcare.org/devices/id>
     ] ;
     fhir:value [ fhir:v "345675" ]
  ] ) . # 


# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.