{
  "resourceType": "StructureDefinition",
  "id": "9ff09ff7-dc0d-4f27-b0f4-61ebc1a8c132",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2017-04-26T03:16:57.889+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/AppointmentMC",
  "name": "AppointmentMC",
  "status": "draft",
  "date": "2017-04-24T09:15:51.3975494+00:00",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Appointment",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "differential": {
    "element": [
      {
        "path": "Appointment"
      },
      {
        "path": "Appointment.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "open"
        }
      },
      {
        "path": "Appointment.extension",
        "name": "Arrived Time",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/arrived-time"
            ]
          }
        ]
      },
      {
        "path": "Appointment.identifier",
        "slicing": {
          "description": "External ID",
          "rules": "open"
        }
      },
      {
        "path": "Appointment.identifier",
        "name": "External ID",
        "max": "1"
      },
      {
        "path": "Appointment.identifier.type.text",
        "fixedString": "External ID"
      },
      {
        "path": "Appointment.identifier.value",
        "min": 1,
        "exampleString": "1AE17C37-2EE5-4251-B049-101DC235EF2B"
      },
      {
        "path": "Appointment.status",
        "fixedCode": "arrived"
      },
      {
        "path": "Appointment.type",
        "max": "0"
      },
      {
        "path": "Appointment.reason.coding",
        "max": "0"
      },
      {
        "path": "Appointment.priority",
        "max": "0"
      },
      {
        "path": "Appointment.slot",
        "max": "0"
      },
      {
        "path": "Appointment.participant",
        "slicing": {
          "description": "Patient/Practitioner",
          "rules": "open"
        }
      },
      {
        "path": "Appointment.participant",
        "name": "Patient",
        "max": "1"
      },
      {
        "path": "Appointment.participant.type",
        "max": "0"
      },
      {
        "path": "Appointment.participant.type.coding",
        "short": "Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.",
        "max": "1",
        "fixedCoding": {
          "system": "http://hl7.org/fhir/ValueSet/encounter-participant-type",
          "code": "PART",
          "display": "Participation"
        }
      },
      {
        "path": "Appointment.participant.actor",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/PatientMC"
            ]
          }
        ]
      },
      {
        "path": "Appointment.participant.required",
        "max": "0",
        "fixedCode": "required"
      },
      {
        "path": "Appointment.participant.status",
        "fixedCode": "accepted"
      },
      {
        "path": "Appointment.participant",
        "name": "Practitioner",
        "max": "1"
      },
      {
        "path": "Appointment.participant.type",
        "max": "0"
      },
      {
        "path": "Appointment.participant.type.coding",
        "short": "The principal or primary performer of the act.",
        "max": "1",
        "fixedCoding": {
          "system": "http://hl7.org/fhir/ValueSet/encounter-participant-type",
          "code": "PPRF",
          "display": "primary performer"
        }
      },
      {
        "path": "Appointment.participant.actor",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerMC"
            ]
          }
        ]
      },
      {
        "path": "Appointment.participant.required",
        "max": "0",
        "fixedCode": "required"
      },
      {
        "path": "Appointment.participant.status",
        "fixedCode": "accepted"
      }
    ]
  }
}