{
  "resourceType": "StructureDefinition",
  "url": "https://hn.indra.es/fhir/StructureDefinition/EpisodeOfCare",
  "name": "EpisodeOfCare",
  "status": "draft",
  "date": "2024-05-08T12:32:29.7390271+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "EpisodeOfCare",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "EpisodeOfCare.id",
        "path": "EpisodeOfCare.id",
        "short": "Identificador lógico asociado al recurso",
        "definition": "Identificador lógico del recurso, usado en la URL del mismo, una vez asignado este valor nunca cambia.",
        "comment": "El único momento en que un recurso no tiene id es cuando está siendo enviado al servidor usando una operación de creación."
      },
      {
        "id": "EpisodeOfCare.implicitRules",
        "path": "EpisodeOfCare.implicitRules",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.language",
        "path": "EpisodeOfCare.language",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.text",
        "path": "EpisodeOfCare.text"
      },
      {
        "id": "EpisodeOfCare.text.id",
        "path": "EpisodeOfCare.text.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.contained",
        "path": "EpisodeOfCare.contained",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.id",
        "path": "EpisodeOfCare.identifier.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.type.id",
        "path": "EpisodeOfCare.identifier.type.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.type.coding.id",
        "path": "EpisodeOfCare.identifier.type.coding.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.type.coding.system",
        "path": "EpisodeOfCare.identifier.type.coding.system",
        "fixedUri": "http://ses.care/Identifiers"
      },
      {
        "id": "EpisodeOfCare.identifier.type.coding.version",
        "path": "EpisodeOfCare.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.type.coding.userSelected",
        "path": "EpisodeOfCare.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.type.text",
        "path": "EpisodeOfCare.identifier.type.text",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.system",
        "path": "EpisodeOfCare.identifier.system",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.period",
        "path": "EpisodeOfCare.identifier.period",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.identifier.assigner",
        "path": "EpisodeOfCare.identifier.assigner",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.statusHistory",
        "path": "EpisodeOfCare.statusHistory",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.id",
        "path": "EpisodeOfCare.type.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.coding.id",
        "path": "EpisodeOfCare.type.coding.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.coding.system",
        "path": "EpisodeOfCare.type.coding.system",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.coding.version",
        "path": "EpisodeOfCare.type.coding.version",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.coding.code",
        "path": "EpisodeOfCare.type.coding.code",
        "binding": {
          "strength": "required",
          "description": "Code",
          "valueSet": "http://hl7.org/fhir/CodeSystem/Ambito"
        }
      },
      {
        "id": "EpisodeOfCare.type.coding.display",
        "path": "EpisodeOfCare.type.coding.display",
        "binding": {
          "strength": "required",
          "description": "Display",
          "valueSet": "http://hl7.org/fhir/CodeSystem/Ambito"
        }
      },
      {
        "id": "EpisodeOfCare.type.coding.userSelected",
        "path": "EpisodeOfCare.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.type.text",
        "path": "EpisodeOfCare.type.text",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.diagnosis",
        "path": "EpisodeOfCare.diagnosis",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.patient.id",
        "path": "EpisodeOfCare.patient.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.patient.type",
        "path": "EpisodeOfCare.patient.type",
        "fixedUri": "Patient"
      },
      {
        "id": "EpisodeOfCare.patient.identifier",
        "path": "EpisodeOfCare.patient.identifier",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.patient.display",
        "path": "EpisodeOfCare.patient.display",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.managingOrganization.id",
        "path": "EpisodeOfCare.managingOrganization.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.managingOrganization.type",
        "path": "EpisodeOfCare.managingOrganization.type",
        "fixedUri": "Organization"
      },
      {
        "id": "EpisodeOfCare.managingOrganization.identifier",
        "path": "EpisodeOfCare.managingOrganization.identifier",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.managingOrganization.display",
        "path": "EpisodeOfCare.managingOrganization.display",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.period.id",
        "path": "EpisodeOfCare.period.id",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.referralRequest",
        "path": "EpisodeOfCare.referralRequest",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.careManager",
        "path": "EpisodeOfCare.careManager",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.team",
        "path": "EpisodeOfCare.team",
        "max": "0"
      },
      {
        "id": "EpisodeOfCare.account",
        "path": "EpisodeOfCare.account",
        "max": "0"
      }
    ]
  }
}