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

<http://hl7.org/fhir/OrganizationAffiliation/orgrole1> a fhir:OrganizationAffiliation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "orgrole1"] ; # Describes the relationship between Founding Fathers Memorial Hospital and Independence Rehabilitation Services, Inc. Independence is contracted to provide rehab services to patients at Founding Fathers
  fhir:identifier ( [
     fhir:use [ fhir:v "secondary" ] ; # Internal business ID for the relationship created by Founding Fathers Memorial Hospital
     fhir:system [
       fhir:v "http://example.org/www.foundingfathersmemorial.com"^^xsd:anyURI ;
       fhir:l <http://example.org/www.foundingfathersmemorial.com>
     ] ;
     fhir:value [ fhir:v "service002" ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Founding Fathers Memorial Hospital" ] # <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/Organization\/foundingfathers\"\/>
     ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:period [
     fhir:start [ fhir:v "2018-02-09"^^xsd:date ] ; # The relationship between the organizations began on February 9, 2018, ends on February 01, 2022
     fhir:end [ fhir:v "2022-02-01"^^xsd:date ]
  ] ; # This record is active
  fhir:organization [
     fhir:display [ fhir:v "Founding Fathers Memorial Hospital" ] # The organization receiving services, Founding Fathers Memorial Hospital, <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/Organization\/foundingfathers\"\/>
  ] ; # 
  fhir:participatingOrganization [
     fhir:display [ fhir:v "Independence Rehabilitation Services, Inc." ] # The organization providing services, Independence Rehabilitation Services, Inc., <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/Organization\/independencerehab\"\/>
  ] ; # 
  fhir:code ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/organization-role"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/organization-role>
       ] ;
       fhir:code [ fhir:v "provider" ] ;
       fhir:display [ fhir:v "Provider" ] ;
       fhir:userSelected [ fhir:v true ]
     ] ) ; # Indicates the role of the participating organization (Independence) in the relationship
     fhir:text [ fhir:v "Provider of rehabilitation services" ]
  ] ) ; # 
  fhir:specialty ( [
     a sct:394602003 ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "394602003" ] ;
       fhir:display [ fhir:v "Rehabilitation specialty" ]
     ] ) ; # Provider specialty associated with this role, rehabilitation
     fhir:text [ fhir:v "Rehabilitation" ]
  ] ) ; # 
  fhir:location ( [
     fhir:display [ fhir:v "Founding Fathers Memorial Hospital" ] # Rehab services are provided at Founding Fathers Memorial Hospital, <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/Location\/foundingfathers1\"\/>
  ] ) ; # 
  fhir:healthcareService ( [
     fhir:display [ fhir:v "Inpatient rehabilitation services" ] # Reference to inpatient rehabilitation services provided by Independence, <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/HealthcareService\/independencerehab1\"\/>
  ] [
     fhir:display [ fhir:v "Outpatient rehabilitation services" ] # Reference to outpatient rehabilitation services provided by Independence, <reference value=\"http:\/\/hl7.org\/fhir\/ig\/vhdir\/HealthcareService\/independencerehab2\"\/>
  ] ) ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ; # Call 202-109-8765 for more information, Mon-Fri 8:00am - 6:00pm
       fhir:value [ fhir:v "202-109-8765" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) . # 

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

