Release 5 FHIR CI-Build

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

Example Group/herd1 (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 )

Herd of 2500 breeding sows

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

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

[a fhir:Group ;

#  
# An example of a herd used in the subject screening observation for Mycoplasmal Pneumonia in Pigs
#(Enzootic pneumonia).  Many thanks to Veterinary Diagnostic Laboratory Iowa State University for the data. 

<http://hl7.org/fhir/Group/herd1> a fhir:Group ;

  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "herd1"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Group</b><a name=\"herd1\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Group &quot;herd1&quot; </p></div><p><b>identifier</b>: <span title=\"  diagnostic lab's identifier  \">id: 20171120-1234</span></p><p><b>active</b>: true</p><p><b>type</b>: animal</p><p><b>membership</b>: enumerated</p><p><b>code</b>: <span title=\"  describes a bunch of female breeding sows  added a translation from US APHIS codes to SNOMED CT \">Porcine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#388393002 &quot;Genus Sus (organism)&quot;; www.aphis.usda.gov#POR &quot;porcine&quot;)</span></span></p><p><b>name</b>: Breeding herd</p><p><b>quantity</b>: 2500</p><h3>Characteristics</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td><td><b>Exclude</b></td></tr><tr><td>*</td><td>gender <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td>female <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td><span title=\"  required element - false means they are all sows  \">false</span></td></tr></table></div>"
  ] ; #    added this extension to reference the owner (client) of the herd   

  fhir:extension ( [
     fhir:url [ fhir:v "http://example.org/fhir/StructureDefinition/owner"^^xsd:anyURI ] ;

     fhir:url [
       fhir:v "http://example.org/fhir/StructureDefinition/owner"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/StructureDefinition/owner>
     ] ;

     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/RelatedPerson/peter> ;

       fhir:reference [ fhir:v "RelatedPerson/peter" ] ;
       fhir:display [ fhir:v "Peter Chalmers" ]
     ]
  ] ) ; # 

  ] [
     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"
     ]
  ] ) ; #   added this extension to reference the owner (client) of the herd  

  fhir:identifier ( [
     fhir:system [ fhir:v "https://vetmed.iastate.edu/vdl"^^xsd:anyURI ] ;

     fhir:system [
       fhir:v "https://vetmed.iastate.edu/vdl"^^xsd:anyURI ;
       fhir:l <https://vetmed.iastate.edu/vdl>
     ] ;

     fhir:value [ fhir:v "20171120-1234" ]
  ] ) ; #    diagnostic lab's identifier   
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 

  ] ) ; #   diagnostic lab's identifier  
  fhir:name [ fhir:v "Breeding herd"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  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 ( [
       a sct:388393002 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;

       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;

       fhir:code [ fhir:v "388393002" ] ;
       fhir:display [ fhir:v "Genus Sus (organism)" ]
     ] [
       fhir:system [ fhir:v "https://www.aphis.usda.gov"^^xsd:anyURI ] ;

       fhir:system [
         fhir:v "https://www.aphis.usda.gov"^^xsd:anyURI ;
         fhir:l <https://www.aphis.usda.gov>
       ] ;

       fhir:code [ fhir:v "POR" ] ;
       fhir:display [ fhir:v "porcine" ]
     ] ) ;
     fhir:text [ fhir:v "Porcine" ]
  ] ; #    describes a bunch of female breeding sows  added a translation from US APHIS codes to SNOMED CT  
  fhir:name [ fhir:v "Breeding herd"] ; # 

  ] ; #   describes a bunch of female breeding sows  added a translation from US APHIS codes to SNOMED CT 

  fhir:quantity [ fhir:v "2500"^^xsd:nonNegativeInteger] ; # 
  fhir:characteristic ( [
     fhir:code [
       fhir:text [ fhir:v "gender" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "female" ]
     ] ;
     fhir:exclude [ fhir:v "false"^^xsd:boolean ] #    required element - false means they are all sows   
  ] )] . #    the share the common charasteristic of being sows   

     fhir:exclude [ fhir:v false ] #   required element - false means they are all sows  
  ] ) . #   the share the common charasteristic of being sows  

<http://hl7.org/fhir/RelatedPerson/peter> a fhir:RelatedPerson .


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


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.