{
  "resourceType": "StructureDefinition",
  "id": "RelatedPerson",
  "meta": {
    "lastUpdated": "2021-03-23T09:57:04.288+00:00"
  },
  "url": "http://dedalus-group.com/fhir/StructureDefinition/RelatedPerson",
  "name": "RelatedPerson",
  "status": "draft",
  "date": "2021-02-18T15:28:03.4736568+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.implicitRules",
        "path": "RelatedPerson.implicitRules",
        "max": "0"
      },
      {
        "id": "RelatedPerson.language",
        "path": "RelatedPerson.language",
        "max": "0"
      },
      {
        "id": "RelatedPerson.contained",
        "path": "RelatedPerson.contained",
        "max": "0"
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "max": "1"
      },
      {
        "id": "RelatedPerson.identifier.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-16"
          }
        ]
      },
      {
        "id": "RelatedPerson.name.id",
        "path": "RelatedPerson.name.id",
        "max": "0"
      },
      {
        "id": "RelatedPerson.name.period",
        "path": "RelatedPerson.name.period",
        "max": "0"
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://dedalus-group.com/fhir/StructureDefinition/UContactPoint"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.gender.extension",
        "path": "RelatedPerson.gender.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RelatedPerson.gender.extension:myExtension",
        "path": "RelatedPerson.gender.extension",
        "sliceName": "myExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/gender-amtlich-de"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-18"
          }
        ]
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://dedalus-group.com/fhir/StructureDefinition/UAddress"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-19"
          }
        ]
      },
      {
        "id": "RelatedPerson.photo",
        "path": "RelatedPerson.photo",
        "max": "0"
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "max": "0"
      },
      {
        "id": "RelatedPerson.communication",
        "path": "RelatedPerson.communication",
        "max": "0"
      }
    ]
  }
}