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

<https://standards.digital.health.nz/fhir/air/Bundle/update-immunisation-response-message-1> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "update-immunisation-response-message-1"] ;
  fhir:Bundle.type [ fhir:value "message"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/fhir/R48182fbd6-c7a5-43a4-bbfc-b1443e493ca39" ] ;
     fhir:Bundle.entry.resource <https://example.com/fhir/R48182fbd6-c7a5-43a4-bbfc-b1443e493ca39>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "OperationOutcome/success1" ] ;
     fhir:Bundle.entry.resource <OperationOutcome/success1>
  ] .

<https://example.com/fhir/R48182fbd6-c7a5-43a4-bbfc-b1443e493ca39> a fhir:MessageHeader ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_null\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader </b></p><p><b>event</b>: <a href=\"CodeSystem-air-event-type-1.0.html#air-event-type-1.0-IMMUNISATION_UPDATE_ACK\">AIR Event Type: IMMUNISATION_UPDATE_ACK</a> (Immunisation Update Response)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>Mohfacid</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/Mohedi\">Mohedi</a></td></tr></table><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>pmsfacid</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://fhir.org.nz/ig/base/pmsedi\">pmsedi</a></td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>9876543</td><td>OK</td></tr></table><p><b>focus</b>: <a href=\"Bundle-update-immunisation-response-message-1.html#OperationOutcome_success1\">OperationOutcome</a></p></div>"
  ] ;
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-event-type" ] ;
     fhir:Coding.code [ fhir:value "IMMUNISATION_UPDATE_ACK" ]
  ] ;
  fhir:MessageHeader.destination [
     fhir:index 0 ;
     fhir:MessageHeader.destination.name [ fhir:value "Mohfacid" ] ;
     fhir:MessageHeader.destination.endpoint [ fhir:value "Mohedi" ]
  ] ;
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "pmsfacid" ] ;
     fhir:MessageHeader.source.endpoint [ fhir:value "pmsedi" ]
  ] ;
  fhir:MessageHeader.response [
     fhir:MessageHeader.response.identifier [ fhir:value "9876543" ] ;
     fhir:MessageHeader.response.code [ fhir:value "ok" ]
  ] ;
  fhir:MessageHeader.focus [
     fhir:index 0 ;
     fhir:link <https://standards.digital.health.nz/fhir/air/OperationOutcome/success1> ;
     fhir:Reference.reference [ fhir:value "OperationOutcome/success1" ]
  ] .

<OperationOutcome/success1> a fhir:OperationOutcome ;
  fhir:Resource.id [ fhir:value "success1"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"OperationOutcome_success1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: OperationOutcome success1</b></p><a name=\"success1\"> </a><a name=\"hcsuccess1\"> </a><h3>Issues</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td><td><b>Diagnostics</b></td></tr><tr><td style=\"display: none\">*</td><td>Information</td><td>Informational Note</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0008 AA}\">Original mode: Application Accept - Enhanced mode: Application acknowledgment: Accept</span></td><td>accepted</td></tr></table></div>"
  ] ;
  fhir:OperationOutcome.issue [
     fhir:index 0 ;
     fhir:OperationOutcome.issue.severity [ fhir:value "information" ] ;
     fhir:OperationOutcome.issue.code [ fhir:value "informational" ] ;
     fhir:OperationOutcome.issue.details [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0008" ] ;
         fhir:Coding.code [ fhir:value "AA" ]
       ]
     ] ;
     fhir:OperationOutcome.issue.diagnostics [ fhir:value "accepted" ]
  ] .

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

<https://standards.digital.health.nz/fhir/air/Bundle/update-immunisation-response-message-1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

