STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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

Group-example.ttl

Raw Turtle, JSON-LD

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 xs: <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:Group.type [ fhir:value "animal"];
  fhir:Group.actual [ fhir:value "true"^^xs:boolean];
  fhir:Group.code [
     fhir:CodeableConcept.text [ fhir:value "Horse" ]
  ];
  fhir:Group.name [ fhir:value "John's herd"];
  fhir:Group.quantity [ fhir:value "25"^^xs:int];
  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"^^xs:boolean ]
  ];
  fhir:Group.characteristic [
     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"^^xs: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.