{
  "resourceType": "StructureDefinition",
  "url": "https://mediligo.com/fhir/StructureDefinition/MediMobi/Appointment",
  "name": "MediMobi.Appointment",
  "status": "draft",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.serviceType",
        "path": "Appointment.serviceType",
        "code": [
          {
            "system": "https://fhir.mediligo.com/ServiceType"
          }
        ],
        "definition": "This field indicates the kind of service that would be needed. An hospital specific code is required, and optionally a mapping to our predefined service types can be added.",
        "min": 1,
        "max": "2",
        "binding": {
          "strength": "preferred",
          "description": "appointment types",
          "valueSet": "http://mediligo.com/fhir/ValueSet/mediligo-appointment-class"
        }
      }
    ]
  }
}