@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.org/fhir/Organization/hl7> a fhir:Organization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "hl7"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      Health Level Seven International\n      <br/>\n				3300 Washtenaw Avenue, Suite 227\n      <br/>\n				Ann Arbor, MI 48104\n      <br/>\n				USA\n      <br/>\n				(+1) 734-677-7777 (phone)\n      <br/>\n				(+1) 734-677-6622 (fax)\n      <br/>\n				E-mail:  \n      <a href=\"mailto:hq@HL7.org\">hq@HL7.org</a>\n    \n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:name [ fhir:v "Health Level Seven International"] ; #    HL7 itself   
  fhir:alias ( [ fhir:v "HL7 International"] ) ; # 
  fhir:contact ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/extended-contact-availability"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/extended-contact-availability>
       ] ;
       fhir:value [
         a fhir:Availability ;
         fhir:availableTime ( [
           fhir:daysOfWeek ( [ fhir:v "mon" ] [ fhir:v "tue" ] [ fhir:v "wed" ] [ fhir:v "thu" ] [ fhir:v "fri" ] ) ;
           fhir:availableStartTime [
             fhir:v "09:00:00"^^xsd:time ;
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/timezone"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/timezone>
               ] ;
               fhir:value [
                 a fhir:Code ;
                 fhir:v "America/New_York"
               ]
             ] )
           ] ;
           fhir:availableEndTime [
             fhir:v "07:00:00"^^xsd:time ;
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/timezone"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/timezone>
               ] ;
               fhir:value [
                 a fhir:Code ;
                 fhir:v "America/New_York"
               ]
             ] )
           ]
         ] ) ;
         fhir:notAvailableTime ( [
           fhir:description [ fhir:v "Public holidays" ]
         ] )
       ]
     ] ) ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "(+1) 734-677-7777" ]
     ] [
       fhir:system [ fhir:v "fax" ] ;
       fhir:value [ fhir:v "(+1) 734-677-6622" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] ) ;
     fhir:address [
       fhir:line ( [ fhir:v "3300 Washtenaw Avenue, Suite 227" ] ) ;
       fhir:city [ fhir:v "Ann Arbor" ] ;
       fhir:state [ fhir:v "MI" ] ;
       fhir:postalCode [ fhir:v "48104" ] ;
       fhir:country [ fhir:v "USA" ]
     ]
  ] ) ; # 
  fhir:endpoint ( [
     fhir:l <http://hl7.org/fhir/Endpoint/example> ;
     fhir:reference [ fhir:v "Endpoint/example" ] #   Endpoint that handles the v2 messaging for the external organization  
  ] ) . # 

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

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

