{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/Procedure-BNet-Csec",
  "name": "Procedure-BNet-Csec",
  "status": "active",
  "date": "2025-09-19T09:25:05.8915901Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The root resource that represents a time period where the caesarean section took place.",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure.id",
        "path": "Procedure.id",
        "short": "Unique resource identifier",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "short": "Status of the caesarean section. This item should be fixed to 'completed'",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.statusReason",
        "path": "Procedure.statusReason",
        "short": "Grade of urgency under which the Caesarean section was initiated.",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.statusReason.coding.system",
        "path": "Procedure.statusReason.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.statusReason.coding.code",
        "path": "Procedure.statusReason.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The following are categories of caesarean grade.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-CaesareanGrade"
        }
      },
      {
        "id": "Procedure.category",
        "path": "Procedure.category",
        "short": "Category of caesarean section procedure which took place.",
        "definition": "Mandatory on a response of ‘Unplanned (emergency)’ for Caesarean grade",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.category.coding.system",
        "path": "Procedure.category.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.category.coding.code",
        "path": "Procedure.category.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The following are categories of caesarean.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-CaesareanCategory"
        }
      },
      {
        "id": "Procedure.code",
        "path": "Procedure.code",
        "short": "Code to identify which caesarean section procedure took place",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.code.coding.system",
        "path": "Procedure.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.code.coding.code",
        "path": "Procedure.code.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The following are types of caesarean procedure.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-CaesareanType"
        }
      },
      {
        "id": "Procedure.code.coding.text",
        "path": "Procedure.code.coding.text",
        "short": "String for when code for caesarean procedure is 'other'",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.reasonCode",
        "path": "Procedure.reasonCode",
        "short": "Code to identify why caesarean section procedure took place",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.reasonCode.coding.system",
        "path": "Procedure.reasonCode.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.reasonCode.coding.code",
        "path": "Procedure.reasonCode.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The following are indications for why a caesarean was undertaken.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-CaesareanPrimaryIndication"
        }
      },
      {
        "id": "Procedure.reasonCode.text",
        "path": "Procedure.reasonCode.text",
        "short": "If the reason for caesaren section is 106009009 or 106008001, the text for other is stored here",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.complication",
        "path": "Procedure.complication",
        "short": "Code to identify if any complications during the caesarean section procedure occurred",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.complication.coding.system",
        "path": "Procedure.complication.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.complication.coding.code",
        "path": "Procedure.complication.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "The following are complications that occur during a caesarean.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-CaesareanComplications"
        }
      },
      {
        "id": "Procedure.complications.text",
        "path": "Procedure.complications.text",
        "short": "If the complications during caesaren section is 78408007, 289618005, adherentBladder or denseadhesions, the text for other is stored here",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "short": "Reference back to root the mother/pregnant person resource. The root patient resource should have an ID of $“Patient/{LogicalID}”",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Procedure.extension.episodeOfCare",
        "path": "Procedure.extension.episodeOfCare",
        "short": "Reference to the pregnancy episode of care. Extension URL is http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
        "definition": "",
        "min": 1,
        "max": "1"
      }
    ]
  }
}