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 MessageHeader Example: Requested eICR - 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:MessageHeader;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "messageheader-ecr-requested-eicr"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "3" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-12-02T02:46:05.751+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#CiZ2KVZypnhZcvRr" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader>     ]
  ];
  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" ]
  ].

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

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