@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 -------------------------------------------------------------------

# An example of a pooled serum sample used in the 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/Specimen/pooled-serum> a fhir:Specimen ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pooled-serum"] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "ACSN" ] ;
         fhir:display [ fhir:v "Accession ID" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://vetmed.iastate.edu/vdl"^^xsd:anyURI ;
       fhir:l <https://vetmed.iastate.edu/vdl>
     ] ;
     fhir:value [ fhir:v "20171120-1234" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "ACSN" ] ;
         fhir:display [ fhir:v "Accession ID" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://vetmed.iastate.edu/vdl"^^xsd:anyURI ;
       fhir:l <https://vetmed.iastate.edu/vdl>
     ] ;
     fhir:value [ fhir:v "20171120-1234" ]
  ] ) ; # the accessionId assigned by the lab
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://vetmed.iastate.edu/vdl"^^xsd:anyURI ;
         fhir:l <https://vetmed.iastate.edu/vdl>
       ] ;
       fhir:code [ fhir:v "Serum sample, pooled" ] ;
       fhir:display [ fhir:v "Serum sample, pooled" ]
     ] ) ;
     fhir:text [ fhir:v "Pooled serum sample" ]
  ] ; # Pooled serum sample from 30 individuals in the herd- no Snomed Code for this - used a made up local code
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Group/herd1> ;
     fhir:reference [ fhir:v "Group/herd1" ]
  ] ; # subject is a herd of breeding sows
  fhir:combined [ fhir:v "pooled"] ; # 
  fhir:collection [
     fhir:collector [
       fhir:display [ fhir:v "James Herriot, FRCVS" ]
     ] ;
     fhir:collected [
       a fhir:DateTime ;
       fhir:v "2017-11-14"^^xsd:date
     ]
  ] ; # 
  fhir:container ( [
     fhir:device [
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Device/device-example-specimen-container-red-top-vacutainer> ;
         fhir:reference [ fhir:v "Device/device-example-specimen-container-red-top-vacutainer" ]
       ]
     ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Pooled serum sample from 30 individuals" ]
  ] ) . # 

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

<http://hl7.org/fhir/Device/device-example-specimen-container-red-top-vacutainer> a fhir:Device .

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

