{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/RelatedPerson",
  "name": "RelatedPerson",
  "status": "active",
  "experimental": false,
  "description": "APIFWK Core profile for RelatedPerson",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.meta",
        "path": "RelatedPerson.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "RelatedPerson.text",
        "path": "RelatedPerson.text",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Patient",
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "min": 1
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "type": [
          {
            "code": "HumanName",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/HumanName"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/ContactPoint"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.gender",
        "path": "RelatedPerson.gender",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.birthDate",
        "path": "RelatedPerson.birthDate",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "type": [
          {
            "code": "Address",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Address"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.photo",
        "path": "RelatedPerson.photo",
        "mustSupport": true
      }
    ]
  }
}