{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/EpisodeOfCare-BNet-Child-PaediatricEpisode",
  "name": "EpisodeOfCare-BNet-Child-PaediatricEpisode",
  "status": "active",
  "date": "2025-03-25T15:48:12.9860598Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "For neonatal summary, full EPR, neoatal transport, or PHDU, or PICU, or FollowUp",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "EpisodeOfCare",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "EpisodeOfCare.type",
        "path": "EpisodeOfCare.type",
        "short": "Paediatric care episode type",
        "definition": "The BadgerNet Care Episode type code.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.status",
        "path": "EpisodeOfCare.status",
        "short": "Episode current status",
        "definition": "Represents the child episode current status. (active | finished)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.id",
        "path": "EpisodeOfCare.id",
        "short": "Identifier for the episode of care",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.period.start",
        "path": "EpisodeOfCare.period.start",
        "short": "Admission date and time for this care episode",
        "definition": "The admission date and time for this single BadgerNet Paediatric Care Episode type.\n        For transport episodes, this represents the transport request time.\n        This should never be NULL as all BadgerNet Paediatric episodes MUST have a start time.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.identifier[use='secondary'].value",
        "path": "EpisodeOfCare.identifier[use='secondary'].value",
        "short": "BadgerID for this single care episode",
        "definition": "Use System = \"https://fhir.clevermed.com/Identifier/BadgerNet/EpisodicBadgerID\"",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.identifier[use='official'].value",
        "path": "EpisodeOfCare.identifier[use='official'].value",
        "short": "Local Hospital ID for this single care episode",
        "definition": "For local hospital ID.  Also set TYPE = 'MR' (Medical Record ID)",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.period.end",
        "path": "EpisodeOfCare.period.end",
        "short": "Discharge date and time for this care episode",
        "definition": "The discharge date and time for this single BadgerNet Paediatric Care Episode type.\n        This cab be NULL. NULL represent an active care episode where the baby is still admitted.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "EpisodeOfCare.patient",
        "path": "EpisodeOfCare.patient",
        "short": "Reference back to root child patient resource. The root patient resource should have an ID of $“Patient/{LogicalID}”",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.managingOrganization",
        "path": "EpisodeOfCare.managingOrganization",
        "short": "Reference to the associated single BadgerNet Care Location for this care episode",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      }
    ]
  }
}