{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/Encounter-BNet-Child-NeonatalUnitAdmission",
  "name": "Encounter-BNet-Child-NeonatalUnitAdmission",
  "status": "draft",
  "date": "2025-11-21T15:01:45.9772013Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This encounter resource encaspulates the details collected at admission to any neonatal unit.  It has a parent relationshop to a generic Paediatric Episode resource of type=neonatal.",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "short": "Reference back to root child patient resource. The root patient resource should have an ID of $“Patient/{LogicalID}”",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.period.start",
        "path": "Encounter.period.start",
        "short": "Date and time of the AdmissionTime to the neonatal unit",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.period.end",
        "path": "Encounter.period.end",
        "short": "Date and time of the discharge or death from the neonatal unit",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "short": "Reference to the BadgerNet care location for the Neonatal Unit",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.hospitalization.origin",
        "path": "Encounter.hospitalization.origin",
        "short": "The BadgerNet Care Location, if known, where the baby was admitted from",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.hospitalization.dischargeDisposition",
        "path": "Encounter.hospitalization.dischargeDisposition",
        "short": "Category or kind of location after discharge",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.hospitalization.dischargeDisposition.coding.system",
        "path": "Encounter.hospitalization.dischargeDisposition.coding.system",
        "fixedUri": "snomed"
      },
      {
        "id": "Encounter.hospitalization.dischargeDisposition.coding.code",
        "path": "Encounter.hospitalization.dischargeDisposition.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Available codes for type of discharge",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Child-NNDischargeDisposition"
        }
      },
      {
        "id": "Encounter.hospitalization.destination",
        "path": "Encounter.hospitalization.destination",
        "short": "Where the patient is discharged to",
        "definition": "This element is only required when the element hospitalization.dischargeDisposition is set to 306699001.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "short": "Status of the encounter",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "short": "Classification of patient encounter",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Encounter.episodeOfCare",
        "path": "Encounter.episodeOfCare",
        "short": "Reference to the episode of care",
        "definition": "",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://clevermed.com/fhir/"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}