@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://resmed.com/fhir/core/Organization/airview-organization> a fhir:Organization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "airview-organization"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://resmed.com/fhir/core/StructureDefinition/resmed-organization"^^xsd:anyURI ;
       fhir:link <http://resmed.com/fhir/core/StructureDefinition/resmed-organization>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Organization</b><a name=\"airview-organization\"> </a></p><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\">Resource Organization &quot;airview-organization&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-resmed-organization.html\">ResMed Organization</a></p></div><p><b>identifier</b>: Organization Account Number: ABC123 (use: OFFICIAL)</p><p><b>type</b>: Healthcare Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-organization-type.html\">Organization type</a>#prov)</span></p><p><b>name</b>: SleepyLabs Sleep Clinic</p><h3>Contacts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Telecom</b></td><td><b>Address</b></td></tr><tr><td style=\"display: none\">*</td><td>James Anderson </td><td><a href=\"mailto:james.anderson@sleepylabs.org\">james.anderson@sleepylabs.org</a>, ph: (410) 555-4321(WORK)</td><td>123 Sleep Street Baltimore MD 21234 US </td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.resmed.com/CodeSystem/resmed-org-identifier"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "AccountNumber" ]
       ] )
     ] ;
     fhir:system [ fhir:v "http://identifier.resmed.com/ecodb/<env>/account-number"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "ABC123" ]
  ] ) ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/organization-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "prov" ] ;
       fhir:display [ fhir:v "Healthcare Provider" ]
     ] )
  ] ) ; # 
  fhir:name [ fhir:v "SleepyLabs Sleep Clinic"] ; # 
  fhir:contact ( [
     fhir:name [
       fhir:family [ fhir:v "Anderson" ] ;
       fhir:given ( [ fhir:v "James" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "james.anderson@sleepylabs.org" ] ;
       fhir:use [ fhir:v "work" ]
     ] [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "(410) 555-4321" ] ;
       fhir:use [ fhir:v "work" ]
     ] ) ;
     fhir:address [
       fhir:line ( [ fhir:v "123 Sleep Street" ] ) ;
       fhir:city [ fhir:v "Baltimore" ] ;
       fhir:state [ fhir:v "MD" ] ;
       fhir:postalCode [ fhir:v "21234" ] ;
       fhir:country [ fhir:v "US" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

