@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/MessageDefinition/UpdateImmunisationRequestMessageDefinition> a fhir:MessageDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "UpdateImmunisationRequestMessageDefinition"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MessageDefinition UpdateImmunisationRequestMessageDefinition</b></p><a name=\"UpdateImmunisationRequestMessageDefinition\"> </a><a name=\"hcUpdateImmunisationRequestMessageDefinition\"> </a><p><b>url</b>: <a href=\"MessageDefinition-UpdateImmunisationRequestMessageDefinition.html\">MessageDefinition: url = http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationRequestMessageDefinition; version = 1.28.0-SNAPSHOT; status = draft; date = 2020-04-21; publisher = Te Whatu Ora; contact = Te Whatu Ora (https://tewhatuora.govt.nz); description = Defines a message used to notify subscribers of an update to a patient’s vaccination record; jurisdiction = New Zealand; copyright = ; event[x] = Immunisation Update Request (AIR Event Type#IMMUNISATION_UPDATE)</a></p><p><b>version</b>: 1.28.0-SNAPSHOT</p><p><b>status</b>: Draft</p><p><b>date</b>: 2020-04-21</p><p><b>publisher</b>: Te Whatu Ora</p><p><b>contact</b>: Te Whatu Ora: <a href=\"https://tewhatuora.govt.nz\">https://tewhatuora.govt.nz</a></p><p><b>description</b>: </p><div><p>Defines a message used to notify subscribers of an update to a patient’s vaccination record</p>\n</div><p><b>jurisdiction</b>: <span title=\"Codes:{urn:iso:std:iso:3166 US}\">New Zealand</span></p><p><b>event</b>: <a href=\"CodeSystem-air-event-type-1.0.html#air-event-type-1.0-IMMUNISATION_UPDATE\">AIR Event Type: IMMUNISATION_UPDATE</a> (Immunisation Update Request)</p><blockquote><p><b>focus</b></p><p><b>code</b>: Patient</p><p><b>profile</b>: <a href=\"StructureDefinition-air-patient.html\">AIR Patient Profile</a></p><p><b>min</b>: 0</p><p><b>max</b>: 1</p></blockquote><blockquote><p><b>focus</b></p><p><b>code</b>: Immunisation</p><p><b>profile</b>: <a href=\"StructureDefinition-air-immunization.html\">AIR Immunization</a></p><p><b>min</b>: 1</p><p><b>max</b>: 1</p></blockquote><blockquote><p><b>focus</b></p><p><b>code</b>: RelatedPerson</p><p><b>min</b>: 0</p><p><b>max</b>: 2</p></blockquote><blockquote><p><b>focus</b></p><p><b>code</b>: Practitioner</p><p><b>profile</b>: <a href=\"StructureDefinition-air-practitioner.html\">AIR Practitioner Profile</a></p><p><b>min</b>: 0</p><p><b>max</b>: 1</p></blockquote><h3>AllowedResponses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Message</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationResponseMessageDefinition\">http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationResponseMessageDefinition</a></td></tr></table></div>"
  ] ;
  fhir:MessageDefinition.url [ fhir:value "http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationRequestMessageDefinition"] ;
  fhir:MessageDefinition.version [ fhir:value "1.28.0-SNAPSHOT"] ;
  fhir:MessageDefinition.status [ fhir:value "draft"] ;
  fhir:MessageDefinition.date [ fhir:value "2020-04-21"^^xsd:date] ;
  fhir:MessageDefinition.publisher [ fhir:value "Te Whatu Ora"] ;
  fhir:MessageDefinition.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Te Whatu Ora" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://tewhatuora.govt.nz" ]
     ]
  ] ;
  fhir:MessageDefinition.description [ fhir:value "Defines a message used to notify subscribers of an update to a patient’s vaccination record"] ;
  fhir:MessageDefinition.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "New Zealand" ]
     ]
  ] ;
  fhir:MessageDefinition.eventCoding [
     fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/air-event-type" ] ;
     fhir:Coding.code [ fhir:value "IMMUNISATION_UPDATE" ]
  ] ;
  fhir:MessageDefinition.focus [
     fhir:index 0 ;
     fhir:MessageDefinition.focus.code [ fhir:value "Patient" ] ;
     fhir:MessageDefinition.focus.profile [
       fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-patient" ;
       fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-patient>
     ] ;
     fhir:MessageDefinition.focus.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
     fhir:MessageDefinition.focus.max [ fhir:value "1" ]
  ], [
     fhir:index 1 ;
     fhir:MessageDefinition.focus.code [ fhir:value "Immunisation" ] ;
     fhir:MessageDefinition.focus.profile [
       fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization" ;
       fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-immunization>
     ] ;
     fhir:MessageDefinition.focus.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
     fhir:MessageDefinition.focus.max [ fhir:value "1" ]
  ], [
     fhir:index 2 ;
     fhir:MessageDefinition.focus.code [ fhir:value "RelatedPerson" ] ;
     fhir:MessageDefinition.focus.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
     fhir:MessageDefinition.focus.max [ fhir:value "2" ]
  ], [
     fhir:index 3 ;
     fhir:MessageDefinition.focus.code [ fhir:value "Practitioner" ] ;
     fhir:MessageDefinition.focus.profile [
       fhir:value "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-practitioner" ;
       fhir:link <https://standards.digital.health.nz/fhir/air/StructureDefinition/air-practitioner>
     ] ;
     fhir:MessageDefinition.focus.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
     fhir:MessageDefinition.focus.max [ fhir:value "1" ]
  ] ;
  fhir:MessageDefinition.allowedResponse [
     fhir:index 0 ;
     fhir:MessageDefinition.allowedResponse.message [
       fhir:value "http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationResponseMessageDefinition" ;
       fhir:link <http://hl7.org.nz/fhir/MessageDefinition/UpdateImmunisationResponseMessageDefinition>
     ]
  ] .

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

<https://standards.digital.health.nz/fhir/air/MessageDefinition/UpdateImmunisationRequestMessageDefinition.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

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

