<ValueSet>
  <id value="MessageEventCode" />
  <text>
    <status value="generated" />
  </text>
  <url value="https://ehealthontario.ca/fhir/ValueSet/message-event-code" />
  <version value="1.0.0" />
  <name value="MessageEventCode" />
  <status value="active" />
  <publisher value="eHealth Ontario" />
  <description value="Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification.Alternatively uri to the EventDefinition" />
  <immutable value="false" />
  <compose>
    <include>
      <system value="https://ehealthontario.ca/fhir/CodeSystem/message-event-code" />
      <concept>
        <code value="add-service-request" />
        <display value="Represents the EventCode used to indicate the RSS has created a new referral" />
      </concept>
      <concept>
        <code value="update-service-request" />
        <display value="Represents the EventCode used to indicate the RSS has updated an existing referral" />
      </concept>
      <concept>
        <code value="revoke-service-request" />
        <display value="Represents the EventCode used to indicate the RSS has cancelled an existing referral" />
      </concept>
      <concept>
        <code value="update-service-status" />
        <display value="Represents the EventCode used to indicate the RTS has updated the status of an existing referral. The status update includes scenarios in which the end user in RTS requires more information or cancels the requested service with an explanation" />
      </concept>
    </include>
  </compose>
</ValueSet>