{
  "resourceType": "StructureDefinition",
  "id": "structuredefinition-related-person",
  "url": "http://ontariohealth.ca/fhir/ehr/StructureDefinition/proifle-relatedPerson",
  "version": "1.0.0-temporary",
  "name": "RelatedPersonEHR",
  "title": "RelatedPerson EHR",
  "status": "active",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.patient.reference",
        "path": "RelatedPerson.patient.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://ontariohealth.ca/fhir/ehr/StructureDefinition/CodeableConcept-oh-ehr"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PatientRelationshipType"
            }
          ],
          "strength": "extensible",
          "description": "The nature of the relationship between a patient and the related person.",
          "valueSet": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
        }
      }
    ]
  }
}