@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://hl7.org/fhir/us/icsr-ae-reporting/MessageHeader/beafb541-3eab-eb9e-1bf1-5fa477d56e77> a fhir:MessageHeader;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "beafb541-3eab-eb9e-1bf1-5fa477d56e77"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2021-01-05T14:14:39+06:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/ibm-fda-icsr-faers-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/icsr-ae-reporting/StructureDefinition/ibm-fda-icsr-faers-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</b></p><p><b>Message Processing Category</b>: notification</p><p><b>event</b>: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode PAT_ADV_EVNT}\">Patient Adverse Event</span></p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td>*</td><td><a href=\"http://example.org/ZZFDA\">http://example.org/ZZFDA</a></td><td><a href=\"Organization-FDA.html\">Generated Summary: active; <span title=\"Codes: {urn:oid:2.16.840.1.113883.3.989.2.1.1.7 2}\">Regulatory Authority</span>; name: FDA; faersesub@fda.hhs.gov</a></td></tr></table><p><b>sender</b>: <a href=\"Organization-BESTPrototype.html\">Generated Summary: active; name: BEST-Prototype</a></p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Endpoint</b></td></tr><tr><td>*</td><td><a href=\"http://example.org/BEST-Pilot\">http://example.org/BEST-Pilot</a></td></tr></table><p><b>reason</b>: <span title=\"Codes: {http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents received-public-health-report}\">Indicates receipt of a public health report</span></p><p><b>focus</b>: <a href=\"Composition-FAERSExample.html\">Generated Summary: id: BEST_beafb541-3eab-eb9e-1bf1-5fa477d56e77; status: final; <span title=\"Codes: {http://loinc.org 85893-6}\">Adverse event note</span>; <span title=\"Codes: {urn:oid:2.16.840.1.113883.3.989.2.1.1.2 1}\">Spontaneous report</span>; date: 2021-01-05; title: ICSR Submission</a></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory" ];
     fhir:Extension.valueCode [ fhir:value "notification" ]
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "PAT_ADV_EVNT" ];
     fhir:Coding.display [ fhir:value "Patient Adverse Event" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.org/ZZFDA" ];
     fhir:MessageHeader.destination.receiver [
       fhir:link <http://hl7.org/fhir/us/icsr-ae-reporting/Organization/FDA>;
       fhir:Reference.reference [ fhir:value "Organization/FDA" ]
     ]
  ];
  fhir:MessageHeader.sender [
     fhir:link <http://hl7.org/fhir/us/icsr-ae-reporting/Organization/BESTPrototype>;
     fhir:Reference.reference [ fhir:value "Organization/BESTPrototype" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/BEST-Pilot" ]
  ];
  fhir:MessageHeader.reason [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents" ];
       fhir:Coding.code [ fhir:value "received-public-health-report" ]
     ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/icsr-ae-reporting/Composition/FAERSExample>;
     fhir:Reference.reference [ fhir:value "Composition/FAERSExample" ]
  ] .

<http://hl7.org/fhir/us/icsr-ae-reporting/Organization/FDA> a fhir:us .

<http://hl7.org/fhir/us/icsr-ae-reporting/Organization/BESTPrototype> a fhir:us .

<http://hl7.org/fhir/us/icsr-ae-reporting/Composition/FAERSExample> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/icsr-ae-reporting/MessageHeader/beafb541-3eab-eb9e-1bf1-5fa477d56e77.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/us/icsr-ae-reporting/MessageHeader/beafb541-3eab-eb9e-1bf1-5fa477d56e77.ttl> .

# -------------------------------------------------------------------------------------

