US Public Health Profiles Library
1.0.0-ballot - STU Ballot US

This page is part of the US Public Health Profiles Library (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: US Public Health Reporting Bundle Example - 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 "us-ph-reporting-bundle-example"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "6" ];
     fhir:Meta.lastUpdated [ fhir:value "2022-08-02T23:38:25.595+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#cmWalv3i7ii12e50" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-reporting-bundle";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-reporting-bundle>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-11-20T11:15:33-10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/MessageHeader/us-ph-messageheader-case-report" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/MessageHeader/us-ph-messageheader-case-report>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Bundle/us-ph-document-bundle-example" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Bundle/us-ph-document-bundle-example>
  ].

<http://example.org/fhir/MessageHeader/us-ph-messageheader-case-report> a fhir:MessageHeader;
  fhir:Resource.id [ fhir:value "us-ph-messageheader-case-report"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "3" ];
     fhir:Meta.lastUpdated [ fhir:value "2022-07-22T19:58:50.237+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#un4cM3WjIQ50i2xQ" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MessageHeader</b></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 MessageHeader \"us-ph-messageheader-case-report\" Version \"3\" Updated \"2022-07-22 07:58:50+0000\" </p><p style=\"margin-bottom: 0px\">Information Source: #un4cM3WjIQ50i2xQ!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-ph-messageheader.html\">US Public Health MessageHeader</a></p></div><p><b>US Public Health Data Encrypted Extension</b>: false</p><p><b>US Public Health Message Processing Category Extension</b>: consequence</p><p><b>event</b>: Indicates a message containing electronic case report healthcare data sent from clinical care. (Details: http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-message-types-codesystem code eicr-case-report-message = 'Indicates a message containing electronic case report healthcare data sent from clinical care.', stated as 'Indicates a message containing electronic case report healthcare data sent from clinical care.')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Target</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>YMCA Acme Message Gateway</td><td><a href=\"Device-device-software-ymca.html\">Device/device-software-ymca</a></td><td><a href=\"http://example.org/ymca/fhir\">http://example.org/ymca/fhir</a></td></tr></table><p><b>sender</b>: <a href=\"Organization-us-ph-organization-salem-medical-center.html\">Organization/us-ph-organization-salem-medical-center</a> \"Salem Medical Center\"</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Software</b></td><td><b>Version</b></td><td><b>Contact</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>Acme Central Patient Registry</td><td>FooBar Patient Manager</td><td>3.1.45.AABB</td><td><a href=\"tel:+1(555)1234567\">+1 (555) 123 4567</a></td><td><a href=\"http://example.org/salem-medical-center/fhir\">http://example.org/salem-medical-center/fhir</a></td></tr></table><p><b>reason</b>: Indicates the close of an encounter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-triggerdefinition-namedevents.html\">US Public Health TriggerDefinition NamedEvents</a>#encounter-close)</span></p><p><b>focus</b>: <a href=\"Bundle-us-ph-document-bundle-example.html\">Bundle/us-ph-document-bundle-example</a></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension" ];
     fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension" ];
     fhir:Extension.valueCode [ fhir:value "consequence" ]
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-message-types-codesystem" ];
     fhir:Coding.code [ fhir:value "eicr-case-report-message" ];
     fhir:Coding.display [ fhir:value "Indicates a message containing electronic case report healthcare data sent from clinical care." ]
  ];
  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-software-ymca" ]     ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.org/ymca/fhir" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.reference [ fhir:value "Organization/us-ph-organization-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.reason [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-triggerdefinition-namedevents" ];
       fhir:Coding.code [ fhir:value "encounter-close" ];
       fhir:Coding.display [ fhir:value "Indicates the close of an encounter" ]     ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Bundle/us-ph-document-bundle-example" ]
  ].

<http://example.org/fhir/Bundle/us-ph-document-bundle-example> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "us-ph-content-bundle-example"];
  fhir:Bundle.type [ fhir:value "collection"];
  fhir:Bundle.timestamp [ fhir:value "2022-06-20T11:15:33-10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Patient/patient-ph-library-eve-everywoman" ];
     fhir:Bundle.entry.resource <http://example.org/fhir/Patient/patient-ph-library-eve-everywoman>
  ].

<http://example.org/fhir/Patient/patient-ph-library-eve-everywoman> a fhir:Patient;
  fhir:Resource.id [ fhir:value "patient-ph-library-eve-everywoman"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "10" ];
     fhir:Meta.lastUpdated [ fhir:value "2021-08-17T08:00:32.356+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#zjFlzHDvZIYVyMAB" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                                    <div class=\"hapiHeaderText\">Eve L \n                                        <b>EVERYWOMAN </b>\n                                    </div>\n                                    <table class=\"hapiPropertyTable\">\n                                        <tbody>\n                                            <tr>\n                                                <td>Identifier</td>\n                                                <td>1032702</td>\n                                            </tr>\n                                            <tr>\n                                                <td>Address</td>\n                                                <td>\n                                                    <span>5101 Peachtree St NE </span>\n                                                    <br/>\n                                                    <span>Atlanta </span>\n                                                    <span>GA </span>\n                                                    <span>US </span>\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td>Date of birth</td>\n                                                <td>\n                                                    <span>24 November 1974</span>\n                                                </td>\n                                            </tr>\n                                        </tbody>\n                                    </table>\n                                </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2106-3" ];
         fhir:Coding.display [ fhir:value "White" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "White" ]     ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2186-5" ];
         fhir:Coding.display [ fhir:value "Not Hispanic or Latino" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Not Hispanic or Latino" ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" ];
     fhir:Extension.valueCode [ fhir:value "F" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-genderidentity-extension" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "value" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" ];
           fhir:Coding.code [ fhir:value "ASKU" ];
           fhir:Coding.display [ fhir:value "asked but unknown" ]         ];
         fhir:CodeableConcept.text [ fhir:value "asked but unknown" ]       ]     ]
  ], [
     fhir:index 4;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-tribal-affiliation-extension" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "TribeName" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS" ];
         fhir:Coding.code [ fhir:value "91" ];
         fhir:Coding.display [ fhir:value "Fort Mojave Indian Tribe of Arizona, California" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "EnrolledTribeMember" ];
       fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ];
         fhir:Coding.display [ fhir:value "Medical Record Number" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.smarthealthit.org" ];
     fhir:Identifier.value [ fhir:value "1032702" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Everywoman" ];
     fhir:HumanName.given [
       fhir:value "Eve";
       fhir:index 0     ], [
       fhir:value "L";
       fhir:index 1     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "1-(404)555-1212" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "eve.everywoman@example.com" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1974-11-24"^^xsd:date];
  fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "5101 Peachtree St NE";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Atlanta" ];
     fhir:Address.state [ fhir:value "GA" ];
     fhir:Address.postalCode [ fhir:value "30302" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en" ];
         fhir:Coding.display [ fhir:value "English" ]       ]     ]
  ].

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

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