@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.no/fhir/ig/ParekIG/Specimen/ASpecimen> a fhir:Specimen ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ASpecimen"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-specimen"^^xsd:anyURI ;
       fhir:l <http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-specimen>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>A sample ParekSpecimen, references other samples.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
     a fhir:PractitionerRole ;
     fhir:id [ fhir:v "ACollector" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-collector-pr"^^xsd:anyURI ;
         fhir:l <http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-collector-pr>
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>A sample ParekCollector, also referenced from other samples.</p></div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:practitioner [
       fhir:identifier [
         fhir:system [
           fhir:v "urn:oid:2.16.578.1.12.4.1.4.4"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.578.1.12.4.1.4.4>
         ] ;
         fhir:value [ fhir:v "987" ]
       ] ;
       fhir:display [ fhir:v "Somebody" ]
     ]
  ] [
     a fhir:Device ;
     fhir:id [ fhir:v "ADevice" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-device"^^xsd:anyURI ;
         fhir:l <http://hl7.no/fhir/ig/ParekIG/StructureDefinition/parek-device>
       ] )
     ] ;
     fhir:text [
       fhir:status [ fhir:v "generated" ] ;
       fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>A sample ParekDevice, also referenced from other samples.</p></div>"^^rdf:XMLLiteral ]
     ] ;
     fhir:identifier ( [
       fhir:system [
         fhir:v "http://some.thing.unique"^^xsd:anyURI ;
         fhir:l <http://some.thing.unique>
       ] ;
       fhir:value [ fhir:v "someValue" ]
     ] ) ;
     fhir:name ( [
       fhir:value [ fhir:v "Et glass" ] ;
       fhir:type [ fhir:v "user-friendly-name" ]
     ] ) ;
     fhir:property ( [
       fhir:type [
         fhir:text [ fhir:v "Rating" ]
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Rød kork"
       ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://some.thing.unique"^^xsd:anyURI ;
       fhir:l <http://some.thing.unique>
     ] ;
     fhir:value [ fhir:v "some.specimen.id" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://ehelse.no/fhir/CodeSystem/no-kodeverk-8351"^^xsd:anyURI ;
         fhir:l <http://ehelse.no/fhir/CodeSystem/no-kodeverk-8351>
       ] ;
       fhir:code [ fhir:v "Blod" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [
         fhir:v "urn:oid:2.16.578.1.12.4.1.4.1"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.578.1.12.4.1.4.1>
       ] ;
       fhir:value [ fhir:v "12345678900" ]
     ]
  ] ; # 
  fhir:request ( [
     fhir:l <http://hl7.no/fhir/ig/ParekIG/ServiceRequest/ARequest> ;
     fhir:reference [ fhir:v "ServiceRequest/ARequest" ]
  ] ) ; # 
  fhir:collection [
     fhir:collector [
       fhir:l <#ACollector> ;
       fhir:reference [ fhir:v "#ACollector" ]
     ] ;
     fhir:collected [
       a fhir:DateTime ;
       fhir:v "2026-03-13"^^xsd:date
     ]
  ] ; # 
  fhir:container ( [
     fhir:device [
       fhir:l <#ADevice> ;
       fhir:reference [ fhir:v "#ADevice" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

