@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/us/ph-library/MessageHeader/us-ph-messageheader-case-report> a fhir:MessageHeader ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "us-ph-messageheader-case-report"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-messageheader>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader us-ph-messageheader-case-report</b></p><a name=\"us-ph-messageheader-case-report\"> </a><a name=\"hcus-ph-messageheader-case-report\"> </a><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\">Language: en</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>: <a href=\"CodeSystem-us-ph-codesystem-message-types.html#us-ph-codesystem-message-types-eicr-case-report-message\">US Public Health CodeSystem - Message Types: eicr-case-report-message</a> (Indicates a message containing electronic case report healthcare data sent from clinical care.)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Target</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>YMCA Acme Message Gateway</td><td><a href=\"Device-device-software-ymca.html\">Device: identifier = http://example.org/software/client-ids#goodhealth_id; manufacturer = Acme Devices, Inc; type = ; contact = http://example.org</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 Salem Medical Center</a></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</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 style=\"display: none\">*</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>: <span title=\"Codes:{http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents encounter-close}\">Indicates the close of an encounter</span></p><p><b>focus</b>: <a href=\"Bundle-us-ph-document-bundle-example.html\">Bundle: identifier = UUID:2be4b4e4-6df1-4cb2-a947-c70fa0eda53b; type = document; timestamp = 2022-06-02 22:13:23+0000</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encrypted-extension>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:v false
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-message-processing-category-extension>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "consequence"
     ]
  ] ) ; # 
  fhir:event [
     a fhir:Coding ;
     fhir:system [
       fhir:v "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-message-types"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-message-types>
     ] ;
     fhir:code [ fhir:v "eicr-case-report-message" ] ;
     fhir:display [ fhir:v "Indicates a message containing electronic case report healthcare data sent from clinical care." ]
  ] ; # 
  fhir:destination ( [
     fhir:name [ fhir:v "YMCA Acme Message Gateway" ] ;
     fhir:target [
       fhir:l <http://hl7.org/fhir/us/ph-library/Device/device-software-ymca> ;
       fhir:reference [ fhir:v "Device/device-software-ymca" ]
     ] ;
     fhir:endpoint [
       fhir:v "http://example.org/ymca/fhir"^^xsd:anyURI ;
       fhir:l <http://example.org/ymca/fhir>
     ]
  ] ) ; # 
  fhir:sender [
     fhir:l <http://hl7.org/fhir/us/ph-library/Organization/us-ph-organization-salem-medical-center> ;
     fhir:reference [ fhir:v "Organization/us-ph-organization-salem-medical-center" ]
  ] ; # 
  fhir:source [
     fhir:name [ fhir:v "Acme Central Patient Registry" ] ;
     fhir:software [ fhir:v "FooBar Patient Manager" ] ;
     fhir:version [ fhir:v "3.1.45.AABB" ] ;
     fhir:contact [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+1 (555) 123 4567" ]
     ] ;
     fhir:endpoint [
       fhir:v "http://example.org/salem-medical-center/fhir"^^xsd:anyURI ;
       fhir:l <http://example.org/salem-medical-center/fhir>
     ]
  ] ; # 
  fhir:reason [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-triggerdefinition-namedevents>
       ] ;
       fhir:code [ fhir:v "encounter-close" ] ;
       fhir:display [ fhir:v "Indicates the close of an encounter" ]
     ] )
  ] ; # 
  fhir:focus ( [
     fhir:l <http://hl7.org/fhir/us/ph-library/Bundle/us-ph-document-bundle-example> ;
     fhir:reference [ fhir:v "Bundle/us-ph-document-bundle-example" ]
  ] ) . # 

<http://hl7.org/fhir/us/ph-library/Device/device-software-ymca> a fhir:Us .

<http://hl7.org/fhir/us/ph-library/Organization/us-ph-organization-salem-medical-center> a fhir:Us .

<http://hl7.org/fhir/us/ph-library/Bundle/us-ph-document-bundle-example> a fhir:Us .

# -------------------------------------------------------------------------------------

