{
  "resourceType": "StructureDefinition",
  "id": "profile-RelatedPerson-delegate",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/profile-RelatedPerson-delegate",
  "name": "RelatedPersonDelegate",
  "title": "Related Person Delegate",
  "status": "active",
  "experimental": false,
  "date": "2024-04-24T13:53:52.9992177+00:00",
  "description": "Represents a search or operation result for a contact person for a family coverage other than the family.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "https://bpcs.exchange/fhir/StructureDefinition/profile-RelatedPerson-delegate-create",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.id",
        "path": "RelatedPerson.id",
        "min": 1
      },
      {
        "id": "RelatedPerson.contained",
        "path": "RelatedPerson.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "RelatedPerson.contained:provenance",
        "path": "RelatedPerson.contained",
        "sliceName": "provenance",
        "short": "Creation/Update/etc. Metadata",
        "definition": "Nested Provenance information referring to this resource that describes the creation, and sometimes the most recent update and/or inactivation of the record, specifically who was responsible and when it occurred",
        "min": 1,
        "type": [
          {
            "code": "Provenance",
            "profile": [
              "https://bpcs.exchange/fhir/StructureDefinition/profile-Provenance"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address.extension:municipalityCode",
        "path": "RelatedPerson.address.extension",
        "sliceName": "municipalityCode",
        "comment": "The binding is extensible to allow for the addition of new codes.  Codes will always be found in the current expansion of the value set.",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://bpcs.exchange/fhir/StructureDefinition/ext-Address-MunicipalityCode"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://bpcs.exchange/fhir/ValueSet/vs-Municipality"
        },
        "mapping": [
          {
            "identity": "BPCS",
            "map": "ContactDTO.rdbMunicipality"
          }
        ]
      }
    ]
  }
}