Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Group-example.ttl

Example Group/101 (Turtle)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative Compartments : 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 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/Group/101> a fhir:Group;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "101"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.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:Group.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://someveterinarianclinic.org/fhir/NamingSystem/herds" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:Group.type [ fhir:value "animal"];
  fhir:Group.actual [ fhir:value "true"^^xsd:boolean];
  fhir:Group.code [
     fhir:CodeableConcept.text [ fhir:value "Horse" ]
  ];
  fhir:Group.name [ fhir:value "John's herd"];
  fhir:Group.quantity [ fhir:value "25"^^xsd:nonNegativeInteger];
  fhir:Group.characteristic [
     fhir:index 0;
     fhir:Group.characteristic.code [
       fhir:CodeableConcept.text [ fhir:value "gender" ]
     ];
     fhir:Group.characteristic.valueCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "mixed" ]
     ];
     fhir:Group.characteristic.exclude [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:Group.characteristic.code [
       fhir:CodeableConcept.text [ fhir:value "owner" ]
     ];
     fhir:Group.characteristic.valueCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "John Smith" ]
     ];
     fhir:Group.characteristic.exclude [ fhir:value "false"^^xsd:boolean ]
  ] .

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

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

<http://hl7.org/fhir/Group/101> a fhir:Group ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "101"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://someveterinarianclinic.org/fhir/NamingSystem/herds"^^xsd:anyURI ;
       fhir:l <http://someveterinarianclinic.org/fhir/NamingSystem/herds>
     ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:name [ fhir:v "John's herd"] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:type [ fhir:v "animal"] ; # 
  fhir:membership [ fhir:v "enumerated"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://example.org/fhir/CodeSystem/group-example-type"^^xsd:anyURI ;
         fhir:l <http://example.org/fhir/CodeSystem/group-example-type>
       ] ;
       fhir:code [ fhir:v "horse" ] ;
       fhir:display [ fhir:v "Horse" ]
     ] ) ;
     fhir:text [ fhir:v "Horse" ]
  ] ; # 
  fhir:quantity [ fhir:v "25"^^xsd:nonNegativeInteger] ; # 
  fhir:characteristic ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/fhir/CodeSystem/group-example-characteristic"^^xsd:anyURI ;
           fhir:l <http://example.org/fhir/CodeSystem/group-example-characteristic>
         ] ;
         fhir:code [ fhir:v "gender" ] ;
         fhir:display [ fhir:v "Gender" ]
       ] ) ;
       fhir:text [ fhir:v "gender" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/fhir/CodeSystem/group-example-gender"^^xsd:anyURI ;
           fhir:l <http://example.org/fhir/CodeSystem/group-example-gender>
         ] ;
         fhir:code [ fhir:v "mixed" ] ;
         fhir:display [ fhir:v "Mixed" ]
       ] ) ;
       fhir:text [ fhir:v "mixed" ]
     ] ;
     fhir:exclude [ fhir:v false ]
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/fhir/CodeSystem/group-example-characteristic"^^xsd:anyURI ;
           fhir:l <http://example.org/fhir/CodeSystem/group-example-characteristic>
         ] ;
         fhir:code [ fhir:v "owner" ] ;
         fhir:display [ fhir:v "Owner" ]
       ] ) ;
       fhir:text [ fhir:v "owner" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/fhir/CodeSystem/group-example-owner"^^xsd:anyURI ;
           fhir:l <http://example.org/fhir/CodeSystem/group-example-owner>
         ] ;
         fhir:code [ fhir:v "john-smith" ] ;
         fhir:display [ fhir:v "John Smith" ]
       ] ) ;
       fhir:text [ fhir:v "John Smith" ]
     ] ;
     fhir:exclude [ fhir:v false ]
  ] ) . # 


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


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.