{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/RelatedPerson-BNet-FatherPartner",
  "name": "RelatedPerson-BNet-FatherPartner",
  "status": "draft",
  "date": "2025-11-21T15:01:45.8438826Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "",
  "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 father/parner",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "short": "Reference to child patient.",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "short": "Relationship to child",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "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": "PRN"
      },
      {
        "id": "RelatedPerson.relationship.coding.display",
        "path": "RelatedPerson.relationship.coding.display",
        "fixedString": "parent"
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "short": "Date of birth of spouse",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.prefix",
        "path": "RelatedPerson.name.prefix",
        "short": "Father/partner's title (prefix)",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "short": "Father/partner's given name(s)",
        "definition": "Woman/pregnant person's given name(s) provided as an array.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.family",
        "path": "RelatedPerson.name.family",
        "short": "Father/partner's surname",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "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",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address.use",
        "path": "RelatedPerson.address.use",
        "short": "The purpose of this address.",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address.line",
        "path": "RelatedPerson.address.line",
        "short": "Father/partner address of residence",
        "definition": "3 address lines are permitted.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address.city",
        "path": "RelatedPerson.address.city",
        "short": "Father/partner city/town of residence",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address.postCode",
        "path": "RelatedPerson.address.postCode",
        "short": "Father/partner address Postcode (zip/postal code)",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.communication.language",
        "path": "RelatedPerson.communication.language",
        "short": "Father/partner language",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "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": "Father/partner's home telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Work",
        "path": "RelatedPerson.Telecom.Work",
        "short": "Father/partner's work telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Mobile",
        "path": "RelatedPerson.Telecom.Mobile",
        "short": "Father/partner's mobile telephone number",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.Telecom.Email",
        "path": "RelatedPerson.Telecom.Email",
        "short": "Father/partner's email address",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.extension",
        "path": "RelatedPerson.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "RelatedPerson.extension:patientEthnicity",
        "path": "RelatedPerson.extension",
        "sliceName": "patientEthnicity",
        "definition": "Father/partner's identity Ethnicity in the NZ region. The URL for this extension is http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/Patient-Ethnicity"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "RelatedPerson.extension:patientEthnicity",
        "path": "RelatedPerson.extension",
        "sliceName": "patientEthnicity",
        "definition": "Father/partner's identity Ethnicity in the UK region (excluding Scotland). The URL for this extension is https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/patient-EthnicityUK"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "RelatedPerson.extension:patientEthnicity",
        "path": "RelatedPerson.extension",
        "sliceName": "patientEthnicity",
        "definition": "Father/partner's identity Ethnicity in the Scottish region. The URL for this extension is https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.clevermed.com/StructureDefinition/patient-EthnicityUK"
            ]
          }
        ],
        "isModifier": false
      }
    ]
  }
}