{
  "resourceType": "StructureDefinition",
  "id": "ncdhc-observation-method-of-delivery",
  "url": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-method-of-delivery",
  "version": "r1.0.0",
  "name": "NCDHCTypeOfBirthObservationProfile",
  "title": "NCDHC Type of Birth",
  "status": "draft",
  "date": "2018-12-21",
  "publisher": "National Children's Digital Health Collaborative (NCDHC)",
  "description": "Type of birth observed during the birthing procedure.",
  "purpose": "To record method of delivery",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-observation-base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "NCDHC Type of Birth Observation Profile"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Code to represent Type of Birth",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "pattern",
              "path": "code"
            }
          ],
          "rules": "closed"
        }
      },
      {
        "id": "Observation.code.coding:MethodOfDeliverySNOMED-CT",
        "path": "Observation.code.coding",
        "sliceName": "MethodOfDeliverySNOMED-CT",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "236973005"
        }
      },
      {
        "id": "Observation.code.coding:MethodOfDeliverySNOMED-CT.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:MethodOfDeliverySNOMED-CT.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "Reference to the Baby Patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-baby"
          }
        ]
      },
      {
        "id": "Observation.effectiveDateTime:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "Date when Type of Birth was noted",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "Type of birth observed during the birthing procedure",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-type-of-birth-1"
          }
        }
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept.coding",
        "path": "Observation.valueCodeableConcept.coding",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org.au/fhir/ch/v1/ValueSet/ncdhc-type-of-birth-1"
          }
        }
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "short": "Additional Comments (if any)"
      }
    ]
  }
}