PackagesCanonicalsLogsProblems
    Packages
    IdHIE.0v@0.0.1
    http://fhir.hie.moh.gov.id/StructureDefinition/Appointment-id-core
{
  "description": "A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).",
  "_filename": "StructureDefinition-Appointment-id-core.json",
  "package_name": "IdHIE.0v",
  "date": "2023-06-07T07:16:10.3933867+00:00",
  "derivation": "constraint",
  "meta": {
    "versionId": "3",
    "lastUpdated": "2023-01-11T08:03:37.185563+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "AppointmentIdCore",
  "abstract": false,
  "type": "Appointment",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Appointment (ID Core)",
  "package_version": "0.0.1",
  "status": "active",
  "id": "ebb16628-2c14-4c0a-8b8d-9247b9d5f13d",
  "kind": "resource",
  "url": "http://fhir.hie.moh.gov.id/StructureDefinition/Appointment-id-core",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Appointment.extension",
      "min": 0,
      "path": "Appointment.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Appointment.extension:simpleRegister",
      "max": "1",
      "min": 0,
      "path": "Appointment.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/simple-register-id-core" ]
      } ],
      "sliceName": "simpleRegister",
      "isModifier": false
    }, {
      "id": "Appointment.extension:simpleRegister.extension",
      "min": 0,
      "path": "Appointment.extension.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Appointment.extension:simpleRegister.extension:identifier",
      "max": "1",
      "min": 0,
      "path": "Appointment.extension.extension",
      "sliceName": "identifier"
    }, {
      "id": "Appointment.extension:simpleRegister.extension:name",
      "max": "1",
      "min": 0,
      "path": "Appointment.extension.extension",
      "sliceName": "name"
    }, {
      "id": "Appointment.extension:simpleRegister.extension:birthDate",
      "max": "1",
      "min": 0,
      "path": "Appointment.extension.extension",
      "sliceName": "birthDate"
    }, {
      "id": "Appointment.cancelationReason",
      "path": "Appointment.cancelationReason",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/cancelation-reason-id-core"
      }
    }, {
      "id": "Appointment.serviceCategory",
      "path": "Appointment.serviceCategory",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.id/Valueset/service-request-category-id-core"
      }
    }, {
      "id": "Appointment.serviceType",
      "path": "Appointment.serviceType",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/service-type-id-core"
      }
    }, {
      "id": "Appointment.specialty",
      "path": "Appointment.specialty",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.id/ValueSet/specialty-id-core"
      }
    }, {
      "id": "Appointment.appointmentType",
      "path": "Appointment.appointmentType",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.id/Valueset/schedule-type-id-core"
      }
    }, {
      "id": "Appointment.participant",
      "path": "Appointment.participant",
      "constraint": [ {
        "key": "app-1",
        "human": "Either the type or actor on the participant SHALL be specified",
        "source": "http://fhir.hie.moh.gov.id/StructureDefinition/Appointment",
        "severity": "error"
      } ]
    }, {
      "id": "Appointment.participant.actor.type",
      "min": 1,
      "path": "Appointment.participant.actor.type"
    }, {
      "id": "Appointment.participant.actor.display",
      "min": 1,
      "path": "Appointment.participant.actor.display"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment"
}