{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/RelatedPerson-BNet-Mother",
  "name": "RelatedPerson-BNet-Mother",
  "status": "draft",
  "date": "2025-11-21T15:01:45.8240159Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This resource is a read only resource. Upon writing Patient-BNet-Mother to [baseUrl]/EpisodeOfCare/{episode-logical-id}/mother/$update, this relatedperson resource will be automatically created.",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.id",
        "path": "RelatedPerson.id",
        "short": "Logical ID for the mother",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.identifier.coding.code",
        "path": "RelatedPerson.identifier.coding.code",
        "short": "Mother's current NHI or NHS number format",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.identifier.coding.code",
        "path": "RelatedPerson.identifier.coding.code",
        "short": "Mother's current hospital ID",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "short": "Reference to child patient.",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "short": "Relationship to child",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.relationship.coding.system",
        "path": "RelatedPerson.relationship.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
      },
      {
        "id": "RelatedPerson.relationship.coding.code",
        "path": "RelatedPerson.relationship.coding.code",
        "fixedString": "NMTH"
      },
      {
        "id": "RelatedPerson.relationship.coding.display",
        "path": "RelatedPerson.relationship.coding.display",
        "fixedString": "natural mother"
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "short": "Date of birth of the mother",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.name.prefix",
        "path": "RelatedPerson.name.prefix",
        "short": "Mother's title (prefix)",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "short": "Mother's given name(s)",
        "definition": "Mother's given name(s) provided as an array.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.name.family",
        "path": "RelatedPerson.name.family",
        "short": "Mother's surname",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.name.use",
        "path": "RelatedPerson.name.use",
        "short": "Identifies the purpose for this name.",
        "definition": "This item defines the type of name provided. This item should be either \"official\" or \"usual\".",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.address.use",
        "path": "RelatedPerson.address.use",
        "short": "The purpose of this address.",
        "definition": "This item defines the type of name provided. This item should be either \"official\" or \"usual\".",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.address.line",
        "path": "RelatedPerson.address.line",
        "short": "Mother's address of residence",
        "definition": "3 address lines are permitted.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.address.city",
        "path": "RelatedPerson.address.city",
        "short": "Mother's city/town of residence",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.address.postCode",
        "path": "RelatedPerson.address.postCode",
        "short": "Mother's address Postcode (zip/postal code)",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.communication.language",
        "path": "RelatedPerson.communication.language",
        "short": "Mother's language",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.communication.language.coding.system",
        "path": "RelatedPerson.communication.language.coding.system",
        "fixedUri": "http://hl7.org/fhir/R4B/valueset-languages"
      },
      {
        "id": "RelatedPerson.communication.language.coding.code",
        "path": "RelatedPerson.communication.language.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Language values accepted by the BadgerNet Spine.",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-RelatedPerson-Languages"
        }
      },
      {
        "id": "RelatedPerson.Telecom.Home",
        "path": "RelatedPerson.Telecom.Home",
        "short": "Mother's home telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Work",
        "path": "RelatedPerson.Telecom.Work",
        "short": "Mother's work telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Mobile",
        "path": "RelatedPerson.Telecom.Mobile",
        "short": "Mother's mobile telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Email",
        "path": "RelatedPerson.Telecom.Email",
        "short": "Mother's email address",
        "definition": "",
        "min": 1,
        "max": "1"
      }
    ]
  }
}