@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.eu/fhir/laboratory/Specimen/Specimen-collection-example> a fhir:Specimen ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Specimen-collection-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Specimen Specimen-collection-example</b></p><a name=\"Specimen-collection-example\"> </a><a name=\"hcSpecimen-collection-example\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-Specimen-eu-lab.html\">Specimen: Laboratory</a></p></div><p><b>status</b>: Available</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 122554006}\">Capillary blood specimen</span></p><p><b>subject</b>: <a href=\"Patient-pat-lab-example.html\">František Očkovaný Moreira  Male, DoB: 2000-03-21 ( National Insurance Payor Identifier (Payor))</a></p><h3>Collections</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Collector</b></td><td><b>Collected[x]</b></td><td><b>BodySite</b></td></tr><tr><td style=\"display: none\">*</td><td>Collected by the patient</td><td>2025-04-08 07:40:00+0200</td><td><span title=\"Codes:{http://snomed.info/sct 48856004}\">Skin structure of palmar surface of index finger</span></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: BodyStructure #FingerBodyStructureExample</b></p><a name=\"Specimen-collection-example/FingerBodyStructureExample\"> </a><a name=\"hcSpecimen-collection-example/FingerBodyStructureExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://build.fhir.org/ig/hl7-eu/base/StructureDefinition-bodyStructure-eu-core.html\">BodyStructure (EU core)</a></p></div><blockquote><p><b>R5: Included anatomic location(s) (new)</b></p><ul><li>structure: <span title=\"Codes:{http://snomed.info/sct 48856004}\">Skin structure of palmar surface of index finger</span></li></ul></blockquote><p><b>patient</b>: <a href=\"Patient-pat-lab-example.html\">František Očkovaný Moreira  Male, DoB: 2000-03-21 ( National Insurance Payor Identifier (Payor))</a></p></blockquote></div>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:BodyStructure ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "FingerBodyStructureExample" ] ;
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core" ;
         fhir:index 0 ;
         fhir:link <http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core>
       ]
     ] ;
     fhir:DomainResource.extension [
       fhir:index 0 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "structure" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             a sct:48856004 ;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
             fhir:Coding.code [ fhir:value "48856004" ] ;
             fhir:Coding.display [ fhir:value "Skin structure of palmar surface of index finger" ]
           ]
         ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-BodyStructure.includedStructure" ]
     ] ;
     fhir:BodyStructure.patient [
       fhir:link <http://hl7.eu/fhir/laboratory/Patient/pat-lab-example> ;
       fhir:Reference.reference [ fhir:value "Patient/pat-lab-example" ]
     ]
  ] ;
  fhir:Specimen.status [ fhir:value "available"] ;
  fhir:Specimen.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:122554006 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "122554006" ] ;
       fhir:Coding.display [ fhir:value "Capillary blood specimen" ]
     ]
  ] ;
  fhir:Specimen.subject [
     fhir:link <http://hl7.eu/fhir/laboratory/Patient/pat-lab-example> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-lab-example" ]
  ] ;
  fhir:Specimen.collection [
     fhir:Specimen.collection.collector [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/alternate-reference" ] ;
         fhir:Extension.valueReference [
           fhir:link <http://hl7.eu/fhir/laboratory/Patient/pat-lab-example> ;
           fhir:Reference.reference [ fhir:value "Patient/pat-lab-example" ]
         ]
       ] ;
       fhir:Reference.display [ fhir:value "Collected by the patient" ]
     ] ;
     fhir:Specimen.collection.collectedDateTime [ fhir:value "2025-04-08T07:40:00+02:00"^^xsd:dateTime ] ;
     fhir:Specimen.collection.bodySite [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.bodySite" ] ;
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "#FingerBodyStructureExample" ]
         ]
       ] ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:48856004 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "48856004" ] ;
         fhir:Coding.display [ fhir:value "Skin structure of palmar surface of index finger" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.eu/fhir/laboratory/Specimen/Specimen-collection-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

