{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/EpisodeOfCare-BNet-Child-Postnatal",
  "name": "EpisodeOfCare-BNet-Child-Postnatal",
  "status": "draft",
  "date": "2025-03-25T15:48:13.0025132Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Care episode created following the admission to postnatal care of a baby.",
  "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.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": "Date at which the baby was admitted to postnatal care",
        "definition": "",
        "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 can 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
      }
    ]
  }
}