{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/EpisodeOfCare-BNet-Preg-Active",
  "name": "EpisodeOfCare-BNet-Preg-Active",
  "status": "active",
  "date": "2025-03-25T15:48:13.0361011Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "All of the [observation]-based FHIR Profiles have a fixed code (SNOMED or LOINC) and also have an added extension called [pregnancyEpisode] which is used when the Spine creates the read-only output version of this resource for each patient record.  It links this resource to a single “parent” pregnancy care episode resource instance.<br /> <br />\n\nWhen writing these data items to the Spine, the sending Spine Client System needs only to send the basic FHIR resource information.  Elements that reference the patient or EpisodeOfCare do not need to be included as these will then be populated in the read-only full FHIR record that can be queried by the Clients.<br /> <br />\n\nWhen reading from the BadgerNet Spine all these parent/child resources and all associated resource reference link elements will be included to reflect the source BadgerNet pregnancy care record structure.",
  "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": "Represents the current open/closed status of the BadgerNet Pregnancy record and can be either active or finished.",
        "definition": "The value for this item is dependent on the EDD for the pregnancy.\n\nWhere the EDD is older than 56 days, the status of this episode of care will be set to 'finished'.\n\nWhen the EDD is sooner than 56 days, the status of this episode of care will be set to 'active'.\n\nThis status will dynamically change when updating a pregnancy.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.id",
        "path": "EpisodeOfCare.id",
        "short": "Identifier for the episode of care",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.patient",
        "path": "EpisodeOfCare.patient",
        "short": "Reference back to root patient resource. The root patient resource should have an ID of $“Patient/{LogicalID}”",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "EpisodeOfCare.period",
        "path": "EpisodeOfCare.period",
        "short": "Refers to the overall time period of care of this BadgerNet Pregnancy record",
        "definition": "",
        "min": 1,
        "max": "1"
      }
    ]
  }
}