HL7 FHIR® Implementation Guide: Electronic Case Reporting (eCR) - US Realm
1.1.0 - STU 2 Ballot

This page is part of the electronic Case Reporting (eCR) (v1.1.0: STU 2 on FHIR R4 Ballot 1) based on FHIR R4. The current version which supercedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions

: eCR Message Bundle Example: bundle-ecr-message-zika - TTL Representation

Raw ttl | Download


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

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "bundle-ecr-message-zika"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "7" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-12-08T22:36:32.576+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#V03NxTGD1UvZKbCn" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-message-bundle";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-message-bundle>     ]
  ];
  fhir:Bundle.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:uuid:0c3eec0b-145b-4694-a1b8-1ea4de5a0cb0" ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/MessageHeader/messageheader-ecr-requested-eicr" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/MessageHeader/messageheader-ecr-requested-eicr>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Task/task-ecr-ehr-requested-eicr" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Task/task-ecr-ehr-requested-eicr>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Device/device-ecr-software-ymca" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Device/device-ecr-software-ymca>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Organization/organization-ecr-salem-medical-center" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Organization/organization-ecr-salem-medical-center>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Organization/organization-ecr-ymca-center" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Organization/organization-ecr-ymca-center>
  ].

<http://example.org/fhir/MessageHeader/messageheader-ecr-requested-eicr> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "messageheader-ecr-requested-eicr"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <table xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n                            <tr>\n                                <td style=\"font-weight: bold\">id</td>\n                                <td>\n                                    <div title=\"id\">messageheader-ecr-requested-eicr</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">meta</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">versionId</td>\n                                            <td>\n                                                <div title=\"versionId\">7</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">lastUpdated</td>\n                                            <td>\n                                                <div title=\"lastUpdated\">2019-10-05T01:19:11.000-04:00</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">profile</td>\n                                            <td>\n                                                <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">tag</td>\n                                            <td>\n                                                <table>\n                                                    <tr>\n                                                        <td style=\"font-weight: bold\">system</td>\n                                                        <td>\n                                                            <div title=\"system\">\n                                                                <a href=\"http://terminology.hl7.org/CodeSystem/v3-ObservationValue\">http://terminology.hl7.org/CodeSystem/v3-ObservationValue</a>\n                                                            </div>\n                                                        </td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td style=\"font-weight: bold\">code</td>\n                                                        <td>\n                                                            <div title=\"code\">SUBSETTED</div>\n                                                        </td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td style=\"font-weight: bold\">display</td>\n                                                        <td>\n                                                            <div title=\"display\">subsetted</div>\n                                                        </td>\n                                                    </tr>\n                                                </table>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">eventCoding</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">system</td>\n                                            <td>\n                                                <div title=\"system\">\n                                                    <a href=\"CodeSystem-codesystem-messageHeader-event.html\">http://hl7.org/fhir/us/ecr/CodeSystem/codesystem-messageHeader-event</a>\n                                                </div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">code</td>\n                                            <td>\n                                                <div title=\"code\">process-eicr</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">display</td>\n                                            <td>\n                                                <div title=\"display\">Process eICR</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">destination</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">name</td>\n                                            <td>\n                                                <div title=\"name\">YMCA Acme Message Gateway</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">target</td>\n                                            <td>\n                                                <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                                    <li>\n                                                        <a href=\"Device-device-ecr-software-ymca.html\">Device/device-ecr-software-ymca</a>\n                                                    </li>\n                                                </ul>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">endpoint</td>\n                                            <td>\n                                                <div title=\"endpoint\">http://example.org/ymca/fhir</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">sender</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <a href=\"Organization-organization-ecr-salem-medical-center.html\">Organization/organization-ecr-salem-medical-center</a>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">source</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">name</td>\n                                            <td>\n                                                <div title=\"name\">Acme Central Patient Registry</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">software</td>\n                                            <td>\n                                                <div title=\"software\">FooBar Patient Manager</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">version</td>\n                                            <td>\n                                                <div title=\"version\">3.1.45.AABB</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">contact</td>\n                                            <td>\n                                                <table>\n                                                    <tr>\n                                                        <td style=\"font-weight: bold\">system</td>\n                                                        <td>\n                                                            <div title=\"system\">phone</div>\n                                                        </td>\n                                                    </tr>\n                                                    <tr>\n                                                        <td style=\"font-weight: bold\">value</td>\n                                                        <td>\n                                                            <div title=\"value\">+1 (555) 123 4567</div>\n                                                        </td>\n                                                    </tr>\n                                                </table>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">endpoint</td>\n                                            <td>\n                                                <div title=\"endpoint\">http://example.org/salem-medical-center/fhir</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">focus</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <a href=\"Task-task-ecr-ehr-requested-eicr.html\">Task/task-ecr-ehr-requested-eicr</a>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                        </table>\n                    </div>"
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ecr/CodeSystem/codesystem-messageHeader-event" ];
     fhir:Coding.code [ fhir:value "process-eicr" ];
     fhir:Coding.display [ fhir:value "Process eICR" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "YMCA Acme Message Gateway" ];
     fhir:MessageHeader.destination.target [
       fhir:Reference.reference [ fhir:value "Device/device-ecr-software-ymca" ]     ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.org/ymca/fhir" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.reference [ fhir:value "Organization/organization-ecr-salem-medical-center" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Acme Central Patient Registry" ];
     fhir:MessageHeader.source.software [ fhir:value "FooBar Patient Manager" ];
     fhir:MessageHeader.source.version [ fhir:value "3.1.45.AABB" ];
     fhir:MessageHeader.source.contact [
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "+1 (555) 123 4567" ]     ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/salem-medical-center/fhir" ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Task/task-ecr-ehr-requested-eicr" ]
  ].

<http://example.org/fhir/Task/task-ecr-ehr-requested-eicr> a fhir:Task;
  fhir:Resource.id [ fhir:value "task-ecr-ehr-requested-eicr"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <table xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n                            <tr>\n                                <td style=\"font-weight: bold\">id</td>\n                                <td>\n                                    <div title=\"id\">task-ecr-ehr-requested-eicr</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">meta</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">versionId</td>\n                                            <td>\n                                                <div title=\"versionId\">9</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">lastUpdated</td>\n                                            <td>\n                                                <div title=\"lastUpdated\">2019-10-05T03:15:42.000-04:00</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">profile</td>\n                                            <td>\n                                                <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-task</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">status</td>\n                                <td>\n                                    <div title=\"status\">requested</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">businessStatus</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                                <li>\n                                                    <div title=\"display\">Send eICR</div>  (\n                                                    \n                                                    \n                                                    \n                                                    \n                                                    \n                                                    <div title=\"code\">sent-eicr</div> )\n                        \n                                                \n                                                \n                                                \n                                                \n                                                \n                                                </li>\n                                                <li>\n                                                    <div title=\"system\">\n                                                        <a href=\"CodeSystem-codesystem-task-businessStatus.html\">http://hl7.org/fhir/us/ecr/CodeSystem/codesystem-task-businessStatus</a>\n                                                    </div>\n                                                </li>\n                                            </ul>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">intent</td>\n                                <td>\n                                    <div title=\"intent\">order</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">focus</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <a href=\"Bundle-bundle-eicr-document-zika.html\">Bundle/bundle-eicr-document-zika</a>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">authoredOn</td>\n                                <td>\n                                    <div title=\"authoredOn\">2019-05-04T14:43:32-04:00</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">owner</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <a href=\"Organization-organization-ecr-ymca-center.html\">Organization/organization-ecr-ymca-center</a>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                        </table>\n                    </div>"
  ];
  fhir:Task.status [ fhir:value "requested"];
  fhir:Task.businessStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ecr/CodeSystem/codesystem-task-businessStatus" ];
       fhir:Coding.code [ fhir:value "sent-eicr" ];
       fhir:Coding.display [ fhir:value "Send eICR" ]     ]
  ];
  fhir:Task.intent [ fhir:value "order"];
  fhir:Task.focus [
     fhir:Reference.reference [ fhir:value "Bundle/bundle-eicr-document-zika" ]
  ];
  fhir:Task.authoredOn [ fhir:value "2019-05-04T14:43:32-04:00"^^xsd:dateTime];
  fhir:Task.owner [
     fhir:Reference.reference [ fhir:value "Organization/organization-ecr-ymca-center" ]
  ].

<http://example.org/fhir/Device/device-ecr-software-ymca> a fhir:Device;
  fhir:Resource.id [ fhir:value "device-ecr-software-ymca"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <table xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n                            <tr>\n                                <td style=\"font-weight: bold\">id:\n                </td>\n                                <td>\n                                    <div title=\"id\">device-ecr-software-ymca</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">meta:\n                </td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <div title=\"versionId\">4</div>\n                                        </li>\n                                        <li>\n                                            <div title=\"lastUpdated\">2019-10-03T05:07:48.000-04:00</div>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">identifier:\n                </td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <div title=\"system\">\n                                                <a href=\"http://acme.com/software/client-ids\">http://acme.com/software/client-ids</a>\n                                            </div>\n                                        </li>\n                                        <li>\n                                            <div title=\"value\">goodhealth_id</div>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">manufacturer:\n                </td>\n                                <td>\n                                    <div title=\"manufacturer\">Acme Devices, Inc</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">type:\n                </td>\n                                <td>\n                                    <div title=\"text\">EHR</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">version:\n                </td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">value:\n                      </td>\n                                            <td>\n                                                <div title=\"value\">10.23-23423</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">contact:\n                </td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <div title=\"system\">url</div>\n                                        </li>\n                                        <li>\n                                            <div title=\"value\">http://acme.com</div>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">url:\n                </td>\n                                <td>\n                                    <div title=\"url\">http://acme.com/ymca/software/</div>\n                                </td>\n                            </tr>\n                        </table>\n                    </div>"
  ];
  fhir:Device.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://acme.com/software/client-ids" ];
     fhir:Identifier.value [ fhir:value "goodhealth_id" ]
  ];
  fhir:Device.manufacturer [ fhir:value "Acme Devices, Inc"];
  fhir:Device.type [
     fhir:CodeableConcept.text [ fhir:value "EHR" ]
  ];
  fhir:Device.version [
     fhir:index 0;
     fhir:Device.version.value [ fhir:value "10.23-23423" ]
  ];
  fhir:Device.contact [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "url" ];
     fhir:ContactPoint.value [ fhir:value "http://acme.com" ]
  ];
  fhir:Device.url [ fhir:value "http://acme.com/ymca/software/"].

<http://example.org/fhir/Organization/organization-ecr-salem-medical-center> a fhir:Organization;
  fhir:Resource.id [ fhir:value "organization-ecr-salem-medical-center"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <table xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n                            <tr>\n                                <td style=\"font-weight: bold\">id</td>\n                                <td>\n                                    <div title=\"id\">organization-ecr-salem-medical-center</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">meta</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">versionId</td>\n                                            <td>\n                                                <div title=\"versionId\">16</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">lastUpdated</td>\n                                            <td>\n                                                <div title=\"lastUpdated\">2019-10-05T03:15:41.000-04:00</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">profile</td>\n                                            <td>\n                                                <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">identifier</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <div title=\"system\">\n                                                <a href=\"http://hl7.org.fhir/sid/us-npi\">http://hl7.org.fhir/sid/us-npi</a>\n                                            </div>\n                                        </li>\n                                        <li>\n                                            <div title=\"value\">55555555</div>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">active</td>\n                                <td>\n                                    <div title=\"active\">true</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">type</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                                <li>\n                                                    <div title=\"display\">Outpatient facility</div>  (\n                                                    \n                                                    \n                                                    \n                                                    \n                                                    \n                                                    <div title=\"code\">OF</div> )\n                        \n                                                \n                                                \n                                                \n                                                \n                                                \n                                                </li>\n                                                <li>\n                                                    <div title=\"system\">\n                                                        <a href=\"http://terminology.hl7.org/CodeSystem/v3-RoleCode\">http://terminology.hl7.org/CodeSystem/v3-RoleCode</a>\n                                                    </div>\n                                                </li>\n                                            </ul>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">name</td>\n                                <td>\n                                    <div title=\"name\">Salem Medical Center</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">telecom</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">system</td>\n                                            <td>\n                                                <div title=\"system\">phone</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">value</td>\n                                            <td>\n                                                <div title=\"value\">+1-555-555-1111</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">telecom</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">system</td>\n                                            <td>\n                                                <div title=\"system\">email</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">value</td>\n                                            <td>\n                                                <div title=\"value\">mail@salemmedicalcenter.com</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">address</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">line</td>\n                                            <td>\n                                                <div title=\"line\">22222 Health Authority Drive</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">city</td>\n                                            <td>\n                                                <div title=\"city\">Ann Arbor</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">state</td>\n                                            <td>\n                                                <div title=\"state\">MI</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">postalCode</td>\n                                            <td>\n                                                <div title=\"postalCode\">99999</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                        </table>\n                    </div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org.fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "55555555" ]
  ];
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "OF" ];
       fhir:Coding.display [ fhir:value "Outpatient facility" ]     ]
  ];
  fhir:Organization.name [ fhir:value "Salem Medical Center"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+1-555-555-1111" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "mail@salemmedicalcenter.com" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "22222 Health Authority Drive";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Ann Arbor" ];
     fhir:Address.state [ fhir:value "MI" ];
     fhir:Address.postalCode [ fhir:value "99999" ]
  ].

<http://example.org/fhir/Organization/organization-ecr-ymca-center> a fhir:Organization;
  fhir:Resource.id [ fhir:value "organization-ecr-ymca-center"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                        <table xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n                            <tr>\n                                <td style=\"font-weight: bold\">id</td>\n                                <td>\n                                    <div title=\"id\">organization-ecr-ymca-center</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">meta</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">versionId</td>\n                                            <td>\n                                                <div title=\"versionId\">9</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">lastUpdated</td>\n                                            <td>\n                                                <div title=\"lastUpdated\">2019-10-23T13:56:36.000-04:00</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">profile</td>\n                                            <td>\n                                                <div title=\"profile\">http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">identifier</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <div title=\"system\">\n                                                <a href=\"http://hl7.org.fhir/sid/us-npi\">http://hl7.org.fhir/sid/us-npi</a>\n                                            </div>\n                                        </li>\n                                        <li>\n                                            <div title=\"value\">7777788</div>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">active</td>\n                                <td>\n                                    <div title=\"active\">true</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">type</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                                <li>\n                                                    <div title=\"display\">Outpatient facility</div>  (\n                                                    \n                                                    \n                                                    \n                                                    \n                                                    \n                                                    <div title=\"code\">OF</div> )\n                        \n                                                \n                                                \n                                                \n                                                \n                                                \n                                                </li>\n                                                <li>\n                                                    <div title=\"system\">\n                                                        <a href=\"http://terminology.hl7.org/CodeSystem/v3-RoleCode\">http://terminology.hl7.org/CodeSystem/v3-RoleCode</a>\n                                                    </div>\n                                                </li>\n                                            </ul>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">name</td>\n                                <td>\n                                    <div title=\"name\">YMCA</div>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">telecom</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">system</td>\n                                            <td>\n                                                <div title=\"system\">phone</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">value</td>\n                                            <td>\n                                                <div title=\"value\">+1-555-555-7777</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">telecom</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">system</td>\n                                            <td>\n                                                <div title=\"system\">email</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">value</td>\n                                            <td>\n                                                <div title=\"value\">mail@ymca.com</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">address</td>\n                                <td>\n                                    <table>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">line</td>\n                                            <td>\n                                                <div title=\"line\">22222 Health Authority Drive</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">city</td>\n                                            <td>\n                                                <div title=\"city\">Ann Arbor</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">state</td>\n                                            <td>\n                                                <div title=\"state\">MI</div>\n                                            </td>\n                                        </tr>\n                                        <tr>\n                                            <td style=\"font-weight: bold\">postalCode</td>\n                                            <td>\n                                                <div title=\"postalCode\">99999</div>\n                                            </td>\n                                        </tr>\n                                    </table>\n                                </td>\n                            </tr>\n                            <tr>\n                                <td style=\"font-weight: bold\">endpoint</td>\n                                <td>\n                                    <ul style=\"list-style:none; padding-left:0; margin:0 0;\">\n                                        <li>\n                                            <a href=\"Endpoint-endpoint-ecr-ymca.html\">Endpoint/endpoint-ecr-ymca</a>\n                                        </li>\n                                    </ul>\n                                </td>\n                            </tr>\n                        </table>\n                    </div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org.fhir/sid/us-npi" ];
     fhir:Identifier.value [ fhir:value "7777788" ]
  ];
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean];
  fhir:Organization.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
       fhir:Coding.code [ fhir:value "OF" ];
       fhir:Coding.display [ fhir:value "Outpatient facility" ]     ]
  ];
  fhir:Organization.name [ fhir:value "YMCA"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+1-555-555-7777" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "mail@ymca.com" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "22222 Health Authority Drive";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Ann Arbor" ];
     fhir:Address.state [ fhir:value "MI" ];
     fhir:Address.postalCode [ fhir:value "99999" ]
  ];
  fhir:Organization.endpoint [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Endpoint/endpoint-ecr-ymca" ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.