{
  "resourceType": "StructureDefinition",
  "id": "MotherChildVitalsProfile",
  "url": "http://example.org/fhir/StructureDefinition/MotherChildVitalsProfile",
  "name": "MotherChildVitalsProfile",
  "title": "Mother and Child Combined Vital Signs",
  "status": "active",
  "date": "2025-05-28",
  "publisher": "Ministry of Health - Nepal",
  "description": "A profile for capturing vital signs of both mother and child in a single observation record, using slicing on component.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "vital-signs",
              "display": "Vital Signs"
            }
          ]
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Mother and Child Combined Vitals"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code.text"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:motherWeight",
        "path": "Observation.component",
        "sliceName": "motherWeight",
        "short": "Mother - Body Weight",
        "patternCodeableConcept": {
          "text": "Mother - Body Weight"
        }
      },
      {
        "id": "Observation.component:motherBMI",
        "path": "Observation.component",
        "sliceName": "motherBMI",
        "short": "Mother - BMI",
        "patternCodeableConcept": {
          "text": "Mother - BMI"
        }
      },
      {
        "id": "Observation.component:childWeight",
        "path": "Observation.component",
        "sliceName": "childWeight",
        "short": "Child - Body Weight",
        "patternCodeableConcept": {
          "text": "Child - Body Weight"
        }
      },
      {
        "id": "Observation.component:childMUAC",
        "path": "Observation.component",
        "sliceName": "childMUAC",
        "short": "Child - MUAC",
        "patternCodeableConcept": {
          "text": "Child - MUAC"
        }
      },
      {
        "id": "Observation.component:childAbCircumference",
        "path": "Observation.component",
        "sliceName": "childAbCircumference",
        "short": "Child - Abdominal Circumference",
        "patternCodeableConcept": {
          "text": "Child - Abdominal Circumference"
        }
      }
    ]
  }
}