{
  "resourceType": "StructureDefinition",
  "id": "EEBase-EpisodeOfCare",
  "url": "https://hl7.ee/fhir/StructureDefinition/EEBase-EpisodeOfCare",
  "version": "1.0.0",
  "name": "EEBaseEpisodeOfCare",
  "title": "EEBase EpisodeOfCare",
  "status": "draft",
  "date": "2022-06-28T15:25:50.3742229+00:00",
  "publisher": "HL7 EE",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "EpisodeOfCare",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "EpisodeOfCare.identifier",
        "path": "EpisodeOfCare.identifier",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.status",
        "path": "EpisodeOfCare.status",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.type",
        "path": "EpisodeOfCare.type",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.patient",
        "path": "EpisodeOfCare.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://hl7.ee/fhir/StructureDefinition/EEBase-Patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.managingOrganization",
        "path": "EpisodeOfCare.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://hl7.ee/fhir/StructureDefinition/EEBase-Organization"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.period",
        "path": "EpisodeOfCare.period",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.careManager",
        "path": "EpisodeOfCare.careManager",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://hl7.ee/fhir/StructureDefinition/EEBase-Practitioner",
              "https://hl7.ee/fhir/StructureDefinition/EEBase-PractitionerRole"
            ]
          }
        ]
      }
    ]
  }
}