<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="appointmentstatus" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The narrative has been removed to reduce the size of the distribution of the Hl7.Fhir.Specification library</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="3" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa" />
  </extension>
  <url value="http://hl7.org/fhir/appointmentstatus" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.4.642.1.478" />
  </identifier>
  <version value="3.0.0" />
  <name value="AppointmentStatus" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2017-04-03T11:27:53+00:00" />
  <publisher value="HL7 (FHIR Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="fhir@lists.hl7.org" />
    </telecom>
  </contact>
  <description value="The free/busy status of an appointment." />
  <caseSensitive value="true" />
  <valueSet value="http://hl7.org/fhir/ValueSet/appointmentstatus" />
  <content value="complete" />
  <concept>
    <code value="proposed" />
    <display value="Proposed" />
    <definition value="None of the participant(s) have finalized their acceptance of the appointment request, and the start/end time may not be set yet." />
  </concept>
  <concept>
    <code value="pending" />
    <display value="Pending" />
    <definition value="Some or all of the participant(s) have not finalized their acceptance of the appointment request." />
  </concept>
  <concept>
    <code value="booked" />
    <display value="Booked" />
    <definition value="All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified." />
  </concept>
  <concept>
    <code value="arrived" />
    <display value="Arrived" />
    <definition value="Some of the patients have arrived." />
  </concept>
  <concept>
    <code value="fulfilled" />
    <display value="Fulfilled" />
    <definition value="This appointment has completed and may have resulted in an encounter." />
  </concept>
  <concept>
    <code value="cancelled" />
    <display value="Cancelled" />
    <definition value="The appointment has been cancelled." />
  </concept>
  <concept>
    <code value="noshow" />
    <display value="No Show" />
    <definition value="Some or all of the participant(s) have not/did not appear for the appointment (usually the patient)." />
  </concept>
  <concept>
    <code value="entered-in-error" />
    <display value="Entered in error" />
    <definition value="This instance should not have been part of this patient's medical record." />
  </concept>
</CodeSystem>