{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyEncounter",
  "version": "4.0",
  "name": "MyEncounter",
  "status": "active",
  "date": "2023-09-04T16:36:37.3577501+00:00",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter.meta",
        "path": "Encounter.meta",
        "max": "0"
      },
      {
        "id": "Encounter.implicitRules",
        "path": "Encounter.implicitRules",
        "max": "0"
      },
      {
        "id": "Encounter.language",
        "path": "Encounter.language",
        "max": "0"
      },
      {
        "id": "Encounter.text",
        "path": "Encounter.text",
        "max": "0"
      },
      {
        "id": "Encounter.contained",
        "path": "Encounter.contained",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.id",
        "path": "Encounter.identifier.id",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.use",
        "path": "Encounter.identifier.use",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.type.id",
        "path": "Encounter.identifier.type.id",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.type.coding.id",
        "path": "Encounter.identifier.type.coding.id",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.type.coding.version",
        "path": "Encounter.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.type.coding.userSelected",
        "path": "Encounter.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.period",
        "path": "Encounter.identifier.period",
        "max": "0"
      },
      {
        "id": "Encounter.identifier.assigner",
        "path": "Encounter.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "binding": {
          "strength": "required",
          "valueSet": "https://MyProject.pt/EncounterStatus"
        }
      },
      {
        "id": "Encounter.statusHistory",
        "path": "Encounter.statusHistory",
        "max": "0"
      },
      {
        "id": "Encounter.class.id",
        "path": "Encounter.class.id",
        "max": "0"
      },
      {
        "id": "Encounter.class.version",
        "path": "Encounter.class.version",
        "max": "0"
      },
      {
        "id": "Encounter.class.userSelected",
        "path": "Encounter.class.userSelected",
        "max": "0"
      },
      {
        "id": "Encounter.classHistory",
        "path": "Encounter.classHistory",
        "max": "0"
      },
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "max": "0"
      },
      {
        "id": "Encounter.priority",
        "path": "Encounter.priority",
        "max": "0"
      },
      {
        "id": "Encounter.subject.id",
        "path": "Encounter.subject.id",
        "max": "0"
      },
      {
        "id": "Encounter.subject.identifier",
        "path": "Encounter.subject.identifier",
        "max": "0"
      },
      {
        "id": "Encounter.episodeOfCare",
        "path": "Encounter.episodeOfCare",
        "max": "0"
      },
      {
        "id": "Encounter.basedOn",
        "path": "Encounter.basedOn",
        "max": "0"
      },
      {
        "id": "Encounter.participant",
        "path": "Encounter.participant",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.id",
        "path": "Encounter.appointment.id",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier",
        "path": "Encounter.appointment.identifier",
        "min": 1
      },
      {
        "id": "Encounter.appointment.identifier.use",
        "path": "Encounter.appointment.identifier.use",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier.type",
        "path": "Encounter.appointment.identifier.type",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier.system",
        "path": "Encounter.appointment.identifier.system",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier.value",
        "path": "Encounter.appointment.identifier.value",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier.period",
        "path": "Encounter.appointment.identifier.period",
        "max": "0"
      },
      {
        "id": "Encounter.appointment.identifier.assigner",
        "path": "Encounter.appointment.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Encounter.length",
        "path": "Encounter.length",
        "max": "0"
      },
      {
        "id": "Encounter.reasonCode",
        "path": "Encounter.reasonCode",
        "max": "0"
      },
      {
        "id": "Encounter.reasonReference",
        "path": "Encounter.reasonReference",
        "max": "0"
      },
      {
        "id": "Encounter.diagnosis",
        "path": "Encounter.diagnosis",
        "max": "0"
      },
      {
        "id": "Encounter.account.id",
        "path": "Encounter.account.id",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.use",
        "path": "Encounter.account.identifier.use",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.type",
        "path": "Encounter.account.identifier.type",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.system",
        "path": "Encounter.account.identifier.system",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.value",
        "path": "Encounter.account.identifier.value",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.period",
        "path": "Encounter.account.identifier.period",
        "max": "0"
      },
      {
        "id": "Encounter.account.identifier.assigner",
        "path": "Encounter.account.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Encounter.hospitalization",
        "path": "Encounter.hospitalization",
        "max": "0"
      },
      {
        "id": "Encounter.location",
        "path": "Encounter.location",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.id",
        "path": "Encounter.serviceProvider.id",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.use",
        "path": "Encounter.serviceProvider.identifier.use",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.type",
        "path": "Encounter.serviceProvider.identifier.type",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.system",
        "path": "Encounter.serviceProvider.identifier.system",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.value",
        "path": "Encounter.serviceProvider.identifier.value",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.period",
        "path": "Encounter.serviceProvider.identifier.period",
        "max": "0"
      },
      {
        "id": "Encounter.serviceProvider.identifier.assigner",
        "path": "Encounter.serviceProvider.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Encounter.partOf",
        "path": "Encounter.partOf",
        "max": "0"
      }
    ]
  }
}