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

# This example demonstrates using the bodystructure resource to identify skin patches or other portions of a person or animal that are a focus of a clinical trial and that are subject to repeated observations and/or procedures over time.

<http://hl7.org/fhir/BodyStructure/skin-patch> a fhir:BodyStructure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "skin-patch"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodhealth.org/bodystructure/identifiers"^^xsd:anyURI ;
       fhir:l <http://goodhealth.org/bodystructure/identifiers>
     ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:active [ fhir:v false] ; # bodystructure marked as no longer active - entered in error
  fhir:includedStructure ( [
     fhir:structure [
       fhir:coding ( [
         a sct:14975008 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "14975008" ] ;
         fhir:display [ fhir:v "Forearm" ]
       ] ) ;
       fhir:text [ fhir:v "Forearm" ]
     ] ;
     fhir:laterality [
       fhir:coding ( [
         a sct:419161000 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "419161000" ] ;
         fhir:display [ fhir:v "Unilateral left" ]
       ] ) ;
       fhir:text [ fhir:v "Left" ]
     ] ;
     fhir:bodyLandmarkOrientation ( [
       fhir:landmarkDescription ( [
         fhir:text [ fhir:v "heart tattoo" ]
       ] ) ;
       fhir:distanceFromLandmark ( [
         fhir:value ( [
           fhir:value [ fhir:v 2.0 ] ;
           fhir:unit [ fhir:v "cm" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "cm" ]
         ] )
       ] ) ;
       fhir:surfaceOrientation ( [
         fhir:coding ( [
           a sct:46053002 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "46053002" ] ;
           fhir:display [ fhir:v "distal" ]
         ] )
       ] )
     ] ) ;
     fhir:qualifier ( [
       fhir:coding ( [
         a sct:263929005 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "263929005" ] ;
         fhir:display [ fhir:v "Volar" ]
       ] ) ;
       fhir:text [ fhir:v "Volar" ]
     ] ) ;
     fhir:morphology ( [
       fhir:coding ( [
         a sct:275265005 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "275265005" ] ;
         fhir:display [ fhir:v "Epithelioma basal cell (disorder)" ]
       ] ) ;
       fhir:text [ fhir:v "Basal cell carcinoma" ]
     ] [
       fhir:coding ( [
         a sct:707136009 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "707136009" ] ;
         fhir:display [ fhir:v "Nevus sebaceous (disorder)" ]
       ] ) ;
       fhir:text [ fhir:v "Nevus sebaceus" ]
     ] ) # Two morphologic characteristics coexisting at the same body structure, demonstrating the 0..* cardinality of morphology
  ] ) ; # 
  fhir:description [ fhir:v "inner surface (volar) of the left forearm"] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] . # 

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

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

