@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: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 ]
  ] ) . # 

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

