R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Group/101 (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

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

General Group Example, Characteristic Based

@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:Group ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "101"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Herd of 25 horses</p>\n      <p>Gender: mixed</p>\n      <p>Owner: John Smith</p>\n    </div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://someveterinarianclinic.org/fhir/NamingSystem/herds"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:name [ fhir:v "John's herd"] ; # 
  fhir:type [ fhir:v "animal"] ; # 
  fhir:membership [ fhir:v "enumerated"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Horse" ]
  ] ; # 
  fhir:quantity [ fhir:v "25"^^xsd:nonNegativeInteger] ; # 
  fhir:characteristic ( [
     fhir:code [
       fhir:text [ fhir:v "gender" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "mixed" ]
     ] ;
     fhir:exclude [ fhir:v "false"^^xsd:boolean ]
  ] [
     fhir:code [
       fhir:text [ fhir:v "owner" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "John Smith" ]
     ] ;
     fhir:exclude [ fhir:v "false"^^xsd:boolean ]
  ] )] . # 

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


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.