AU Patient Summary Implementation Guide
1.0.0-ballot - Ballot

AU Patient Summary Implementation Guide - Downloaded Version 1.0.0-ballot See the Directory of published versions

## Resource Profile: AUPSRelatedPerson - JSON Profile

Page standards status: Draft | Maturity Level: 1

JSON representation of the au-ps-relatedperson resource profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "au-ps-relatedperson",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition au-ps-relatedperson</b></p><a name=\"au-ps-relatedperson\"> </a><a name=\"hcau-ps-relatedperson\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson\">RelatedPerson</a><a name=\"RelatedPerson\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org.au/fhir/core/2.0.0/StructureDefinition-au-core-relatedperson.html\">AUCoreRelatedPerson</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A person related to a patient in an Australian healthcare context</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.patient\">patient</a><a name=\"RelatedPerson.patient\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-au-ps-patient.html\">AU PS Patient</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The patient this person is related to</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.patient.reference\">reference</a><a name=\"RelatedPerson.patient.reference\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations and must be supported\">SO</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Literal reference, Relative, internal or absolute URL</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.relationship\">relationship</a><a name=\"RelatedPerson.relationship\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/StructureDefinition-CodeableConcept-uv-ips.html\" title=\"CodeableConcept\">CodeableConceptIPS</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The nature of the relationship</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.name\">name</a><a name=\"RelatedPerson.name\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#HumanName\">HumanName</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A name associated with the person</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.name.use\">use</a><a name=\"RelatedPerson.name.use\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">usual | official | temp | nickname | anonymous | old | maiden</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.name.text\">text</a><a name=\"RelatedPerson.name.text\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Text representation of the full name</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.name.family\">family</a><a name=\"RelatedPerson.name.family\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Family name (often called 'Surname')</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.name.given\">given</a><a name=\"RelatedPerson.name.given\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Given names (not always 'first'). Includes middle names</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.telecom\">telecom</a><a name=\"RelatedPerson.telecom\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#ContactPoint\">ContactPoint</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A contact detail for the person</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-relatedperson-definitions.html#RelatedPerson.address\">address</a><a name=\"RelatedPerson.address\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Address\" title=\"Address\">Address</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-address.html\" title=\"Address\">AustralianAddress</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Address where the related person can be contacted or visited</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr></table></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "draft",
          "_valueCode" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
                "valueCanonical" : "http://hl7.org.au/fhir/ps/ImplementationGuide/hl7.fhir.au.ps"
              }
            ]
          }
        }
      ],
      "url" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson",
      "version" : "1.0.0-ballot",
      "name" : "AUPSRelatedPerson",
      "title" : "AU PS RelatedPerson",
      "status" : "active",
      "date" : "2026-02-16T11:51:02+00:00",
      "publisher" : "HL7 Australia",
      "contact" : [
        {
          "name" : "HL7 Australia FHIR Work Group",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://confluence.hl7.org/display/HAFWG",
              "use" : "work"
            }
          ]
        }
      ],
      "description" : "This profile sets minimum expectations for a RelatedPerson resource in the context of a patient summary in an Australian context. It is based on the [AU Core Related Person](https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-relatedperson.html) profile, and applies the additional constraints for use in a patient summary context consistent with the profiling conventions of [IPS](https://hl7.org/fhir/uv/ips/STU2/).",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "AU"
            }
          ]
        }
      ],
      "copyright" : "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2024+; Licensed Under Creative Commons No Rights Reserved.",
      "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.au/fhir/core/StructureDefinition/au-core-relatedperson",
      "derivation" : "constraint",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "2.0.0"
          }
        ],
        "element" : [
          {
            "id" : "RelatedPerson",
            "path" : "RelatedPerson",
            "short" : "A person related to a patient in an Australian healthcare context",
            "definition" : "Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "dom-2",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                "expression" : "contained.contained.empty()",
                "xpath" : "not(parent::f:contained and f:contained)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-3",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
                "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-4",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-5",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
                "expression" : "contained.meta.security.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                    "valueBoolean" : true
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                    "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                  }
                ],
                "key" : "dom-6",
                "severity" : "warning",
                "human" : "A resource should have narrative for robust management",
                "expression" : "text.`div`.exists()",
                "xpath" : "exists(f:text/h:div)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "inv-relper-0",
                "severity" : "warning",
                "human" : "Individual gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').extension('value').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').extension('value').value.all(memberOf('https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "inv-relper-1",
                "severity" : "warning",
                "human" : "Individual pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').extension('value').value.all(memberOf('https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "inv-relper-2",
                "severity" : "warning",
                "human" : "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').value.all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-type'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "inv-relper-3",
                "severity" : "warning",
                "human" : "Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').value.ofType(CodeableConcept).all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source-document-type'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "inv-relper-4",
                "severity" : "warning",
                "human" : "Recorded sex or gender jurisdiction shall be a member of the Jurisdiction ValueSet - AU Extended if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').value.all(memberOf('http://terminology.hl7.org.au/ValueSet/jurisdiction-extended'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "inv-relper-5",
                "severity" : "warning",
                "human" : "Recorded sex or gender source shall be a member of the AU Recorded Sex or Gender (RSG) Source value set if any codes within that value set can apply",
                "expression" : "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('source').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('source').value.ofType(CodeableConcept).all(memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source'))",
                "source" : "http://hl7.org.au/fhir/StructureDefinition/au-relatedperson"
              },
              {
                "key" : "au-core-relper-01",
                "severity" : "error",
                "human" : "Either a name or a relationship shall be provided (or both)",
                "expression" : "name.exists() or relationship.exists()",
                "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"
              },
              {
                "key" : "au-core-relper-02",
                "severity" : "error",
                "human" : "Names shall have at least text, family name, or given name present, or if neither is available, the Data Absent Reason extension shall be present",
                "expression" : "name.exists() implies name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists() xor name.all(text.exists() or family.exists() or given.exists())",
                "source" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Entity. Role, or Act"
              },
              {
                "identity" : "rim",
                "map" : "role"
              }
            ]
          },
          {
            "id" : "RelatedPerson.id",
            "path" : "RelatedPerson.id",
            "short" : "Logical id of this artifact",
            "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
            "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "id"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "RelatedPerson.meta",
            "path" : "RelatedPerson.meta",
            "short" : "Metadata about the resource",
            "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.meta",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Meta"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "RelatedPerson.implicitRules",
            "path" : "RelatedPerson.implicitRules",
            "short" : "A set of rules under which this content was created",
            "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
            "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.implicitRules",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
            "isSummary" : true
          },
          {
            "id" : "RelatedPerson.language",
            "path" : "RelatedPerson.language",
            "short" : "Language of the resource content",
            "definition" : "The base language in which the resource is written.",
            "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
                  "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Language"
                }
              ],
              "strength" : "preferred",
              "description" : "A human language.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/languages|4.0.1"
            }
          },
          {
            "id" : "RelatedPerson.text",
            "path" : "RelatedPerson.text",
            "short" : "Text summary of the resource, for human interpretation",
            "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
            "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
            "alias" : [
              "narrative",
              "html",
              "xhtml",
              "display"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Act.text?"
              }
            ]
          },
          {
            "id" : "RelatedPerson.contained",
            "path" : "RelatedPerson.contained",
            "short" : "Contained, inline Resources",
            "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
            "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
            "alias" : [
              "inline resources",
              "anonymous resources",
              "contained resources"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.contained",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Resource"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.extension",
            "path" : "RelatedPerson.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "rules" : "open"
            },
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false
          },
          {
            "id" : "RelatedPerson.extension:genderIdentity",
            "path" : "RelatedPerson.extension",
            "sliceName" : "genderIdentity",
            "short" : "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply",
            "definition" : "An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else.",
            "comment" : "The individual's gender identity is populated in the `extension:value.value[x]` of the [Individual Gender Identity](http://hl7.org/fhir/StructureDefinition/individual-genderIdentity) extension and shall contain one of the codes from the [Gender Identity Response](https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1) value set if any of the codes within the value set can apply.\n\nSee [Australian Bureau of Statics (ABS) Standard for Sex, Gender, Variations of Sex Characteristics and Sexual Orientation Variables, 2020](https://www.abs.gov.au/statistics/standards/standard-sex-gender-variations-sex-characteristics-and-sexual-orientation-variables/latest-release#gender) for further materials.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : [
                  🔗 "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"
                ]
              }
            ],
            "condition" : [
              "inv-relper-0"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false
          },
          {
            "id" : "RelatedPerson.extension:individualPronouns",
            "path" : "RelatedPerson.extension",
            "sliceName" : "individualPronouns",
            "short" : "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply",
            "definition" : "The pronouns to use when referring to an individual in verbal or written communication.",
            "comment" : "The individual's pronouns are populated in the `extension:value.value[x]` of the [Individual Pronouns](http://hl7.org/fhir/StructureDefinition/individual-pronouns) extension and shall contain one of the codes from the [Australian Pronouns](https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1) value set if any of the codes within the value set can apply.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : [
                  🔗 "http://hl7.org/fhir/StructureDefinition/individual-pronouns"
                ]
              }
            ],
            "condition" : [
              "inv-relper-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false
          },
          {
            "id" : "RelatedPerson.extension:recordedSexOrGender",
            "path" : "RelatedPerson.extension",
            "sliceName" : "recordedSexOrGender",
            "short" : "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply. Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply. Recorded sex or gender jurisdiction shall be a member of the Jurisdiction ValueSet - AU Extended if any codes within that value set can apply. Recorded sex or gender source shall be a member of the AU Recorded Sex or Gender (RSG) Source value set if any codes within that value set can apply.",
            "definition" : "A sex or gender property for the individual from a document or other record",
            "comment" : "The type of recorded sex or gender is populated in the `extension:type.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender Type](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-type.html) value set if any of the codes within the value set can apply.\n\nThe document from which the sex or gender property was acquired is populated in the `extension:sourceDocument.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender (RSG) Source Document Type](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-source-document-type.html) value set if any of the codes within the value set can apply.\n\nThe jurisdiction that issued the document where the sex or gender was acquired is populated in the `extension:jurisdiction.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [Jurisdiction ValueSet - AU Extended](https://hl7.org.au/fhir/6.0.0/ValueSet-au-jurisdiction-extended.html) value set if any of the codes within the value set can apply. \n\nThe non-document source from which the sex or gender property was acquired is populated in the `extension:source.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender (RSG) Source](https://hl7.org.au/fhir/6.0.0/ValueSet-rsg-source.html) value set if any of the codes within the value set can apply.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : [
                  🔗 "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"
                ]
              }
            ],
            "condition" : [
              "inv-relper-2",
              "inv-relper-3",
              "inv-relper-4",
              "inv-relper-5"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false
          },
          {
            "id" : "RelatedPerson.modifierExtension",
            "path" : "RelatedPerson.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.identifier",
            "path" : "RelatedPerson.identifier",
            "short" : "A human identifier for this person",
            "definition" : "Identifier for a person within a particular scope.",
            "requirements" : "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier",
                "profile" : [
                  🔗 "http://hl7.org/fhir/StructureDefinition/Identifier"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-ihi"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.identifier"
              },
              {
                "identity" : "v2",
                "map" : "NK1-33"
              },
              {
                "identity" : "rim",
                "map" : ".id"
              }
            ]
          },
          {
            "id" : "RelatedPerson.active",
            "path" : "RelatedPerson.active",
            "short" : "Whether this related person's record is in active use",
            "definition" : "Whether this related person record is in active use.",
            "comment" : "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
            "requirements" : "Need to be able to mark a related person record as not to be used, such as if it was created in error.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.active",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "meaningWhenMissing" : "This resource is generally assumed to be active if no value is provided for the active element",
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.status"
              },
              {
                "identity" : "rim",
                "map" : ".statusCode"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.patient",
            "short" : "The patient this person is related to",
            "definition" : "The patient this person is related to.",
            "requirements" : "We need to know which patient this RelatedPerson is related to.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.patient",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-3"
              },
              {
                "identity" : "rim",
                "map" : "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.id",
            "path" : "RelatedPerson.patient.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.extension",
            "path" : "RelatedPerson.patient.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.reference",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.patient.reference",
            "short" : "Literal reference, Relative, internal or absolute URL",
            "definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
            "comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Reference.reference",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "condition" : [
              "ref-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.type",
            "path" : "RelatedPerson.patient.type",
            "short" : "Type the reference refers to (e.g. \"Patient\")",
            "definition" : "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
            "comment" : "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "FHIRResourceTypeExt"
                }
              ],
              "strength" : "extensible",
              "description" : "Aa resource (or, for logical models, the URI of the logical model).",
              "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.identifier",
            "path" : "RelatedPerson.patient.identifier",
            "short" : "Logical reference, when literal reference is not known",
            "definition" : "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
            "comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.identifier",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".identifier"
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.display",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                "valueBoolean" : true
              }
            ],
            "path" : "RelatedPerson.patient.display",
            "short" : "Text alternative for the resource",
            "definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
            "comment" : "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.display",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.relationship",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.relationship",
            "short" : "The nature of the relationship",
            "definition" : "The nature of the relationship between a patient and the related person.",
            "requirements" : "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.relationship",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  🔗 "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "condition" : [
              "au-core-relper-01"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "PatientRelationshipType"
                }
              ],
              "strength" : "extensible",
              "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/related-person-relationship-type-1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "v2",
                "map" : "NK1-3"
              },
              {
                "identity" : "rim",
                "map" : "code"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name",
            "short" : "A name associated with the person",
            "definition" : "A name associated with the person.",
            "requirements" : "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.name",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "HumanName"
              }
            ],
            "condition" : [
              "au-core-relper-01"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-2"
              },
              {
                "identity" : "rim",
                "map" : "name"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.id",
            "path" : "RelatedPerson.name.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.extension",
            "path" : "RelatedPerson.name.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.use",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.use",
            "short" : "usual | official | temp | nickname | anonymous | old | maiden",
            "definition" : "Identifies the purpose for this name.",
            "comment" : "Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
            "requirements" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.use",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : true,
            "isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one",
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "NameUse"
                }
              ],
              "strength" : "required",
              "description" : "The use of a human name.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/name-use|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.7, but often indicated by which field contains the name"
              },
              {
                "identity" : "rim",
                "map" : "unique(./use)"
              },
              {
                "identity" : "servd",
                "map" : "./NamePurpose"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.text",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.text",
            "short" : "Text representation of the full name",
            "definition" : "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.",
            "comment" : "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part.",
            "requirements" : "A renderable, unencoded form.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "implied by XPN.11"
              },
              {
                "identity" : "rim",
                "map" : "./formatted"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.family",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.family",
            "short" : "Family name (often called 'Surname')",
            "definition" : "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
            "comment" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
            "alias" : [
              "surname"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.family",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.1/FN.1"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = FAM]"
              },
              {
                "identity" : "servd",
                "map" : "./FamilyName"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.given",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.given",
            "short" : "Given names (not always 'first'). Includes middle names",
            "definition" : "Given name.",
            "comment" : "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called \"first name\" since given names do not always come first.",
            "alias" : [
              "first name",
              "middle name"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "HumanName.given",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Given Names appear in the correct order for presenting the name",
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.2 + XPN.3"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = GIV]"
              },
              {
                "identity" : "servd",
                "map" : "./GivenNames"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.prefix",
            "path" : "RelatedPerson.name.prefix",
            "short" : "Parts that come before the name",
            "definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "HumanName.prefix",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Prefixes appear in the correct order for presenting the name",
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.5"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = PFX]"
              },
              {
                "identity" : "servd",
                "map" : "./TitleCode"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.suffix",
            "path" : "RelatedPerson.name.suffix",
            "short" : "Parts that come after the name",
            "definition" : "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "HumanName.suffix",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Suffixes appear in the correct order for presenting the name",
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN/4"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = SFX]"
              }
            ]
          },
          {
            "id" : "RelatedPerson.name.period",
            "path" : "RelatedPerson.name.period",
            "short" : "Time period when name was/is in use",
            "definition" : "Indicates the period of time when this name was valid for the named person.",
            "requirements" : "Allows names to be placed in historical context.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.13 + XPN.14"
              },
              {
                "identity" : "rim",
                "map" : "./usablePeriod[type=\"IVL<TS>\"]"
              },
              {
                "identity" : "servd",
                "map" : "./StartDate and ./EndDate"
              }
            ]
          },
          {
            "id" : "RelatedPerson.telecom",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.telecom",
            "short" : "A contact detail for the person",
            "definition" : "A contact detail for the person, e.g. a telephone number or an email address.",
            "comment" : "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.",
            "requirements" : "People have (primary) ways to contact them in some way such as phone, email.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.telecom",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "ContactPoint"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-5 / NK1-6 / NK1-40"
              },
              {
                "identity" : "rim",
                "map" : "telecom"
              }
            ]
          },
          {
            "id" : "RelatedPerson.gender",
            "path" : "RelatedPerson.gender",
            "short" : "male | female | other | unknown",
            "definition" : "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
            "requirements" : "Needed for identification of the person, in combination with (at least) name and birth date.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.gender",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AdministrativeGender"
                }
              ],
              "strength" : "required",
              "description" : "The gender of a person used for administrative purposes.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-15"
              },
              {
                "identity" : "rim",
                "map" : "administrativeGender"
              }
            ]
          },
          {
            "id" : "RelatedPerson.birthDate",
            "path" : "RelatedPerson.birthDate",
            "short" : "The date on which the related person was born",
            "definition" : "The date on which the related person was born.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.birthDate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "player.birthTime"
              }
            ]
          },
          {
            "id" : "RelatedPerson.address",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:no-error"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson|2.0.0"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  },
                  {
                    "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson|1.0.0-ballot"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.address",
            "short" : "Address where the related person can be contacted or visited",
            "definition" : "Address where the related person can be contacted or visited.",
            "comment" : "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource).",
            "requirements" : "Need to keep track where the related person can be contacted per postal mail or visited.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.address",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Address",
                "profile" : [
                  🔗 "http://hl7.org/fhir/StructureDefinition/Address"🔗 ,
                  "http://hl7.org.au/fhir/StructureDefinition/au-address"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-4"
              },
              {
                "identity" : "rim",
                "map" : "addr"
              }
            ]
          },
          {
            "id" : "RelatedPerson.photo",
            "path" : "RelatedPerson.photo",
            "short" : "Image of the person",
            "definition" : "Image of the person.",
            "requirements" : "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.photo",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Attachment"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "OBX-5 - needs a profile"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode='PSN' and determinerCode='INSTANCE']/desc"
              }
            ]
          },
          {
            "id" : "RelatedPerson.period",
            "path" : "RelatedPerson.period",
            "short" : "Period of time that this relationship is considered valid",
            "definition" : "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.done[x]"
              },
              {
                "identity" : "rim",
                "map" : ".effectiveTime"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication",
            "path" : "RelatedPerson.communication",
            "short" : "A language which may be used to communicate with about the patient's health",
            "definition" : "A language which may be used to communicate with about the patient's health.",
            "comment" : "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations.   If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.",
            "requirements" : "If a related person does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "RelatedPerson.communication",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "LanguageCommunication"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication.id",
            "path" : "RelatedPerson.communication.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication.extension",
            "path" : "RelatedPerson.communication.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication.modifierExtension",
            "path" : "RelatedPerson.communication.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication.language",
            "path" : "RelatedPerson.communication.language",
            "short" : "The language which can be used to communicate with the patient about his or her health",
            "definition" : "A language which can be used to communicate with about the patient's health.          The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and          the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English,          or \"en-US\" for American English versus \"en-EN\" for England English.",
            "comment" : "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.",
            "requirements" : "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.communication.language",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"
              }
            ]
          },
          {
            "id" : "RelatedPerson.communication.preferred",
            "path" : "RelatedPerson.communication.preferred",
            "short" : "Language preference indicator",
            "definition" : "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
            "comment" : "This language is specifically identified for communicating healthcare information.",
            "requirements" : "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "RelatedPerson.communication.preferred",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "preferenceInd"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "RelatedPerson",
            "path" : "RelatedPerson"
          },
          {
            "id" : "RelatedPerson.patient",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.patient",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient"
                ]
              }
            ]
          },
          {
            "id" : "RelatedPerson.patient.reference",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.patient.reference",
            "min" : 1,
            "mustSupport" : true
          },
          {
            "id" : "RelatedPerson.relationship",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.relationship",
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  🔗 "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ]
          },
          {
            "id" : "RelatedPerson.name",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name"
          },
          {
            "id" : "RelatedPerson.name.use",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.use"
          },
          {
            "id" : "RelatedPerson.name.text",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.text"
          },
          {
            "id" : "RelatedPerson.name.family",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.family"
          },
          {
            "id" : "RelatedPerson.name.given",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.name.given"
          },
          {
            "id" : "RelatedPerson.telecom",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.telecom"
          },
          {
            "id" : "RelatedPerson.address",
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:populate-if-known"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHALL:handle"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              },
              {
                "extension" : [
                  {
                    "url" : "code",
                    "valueCode" : "SHOULD:display"
                  },
                  {
                    "url" : "actor",
                    "valueCanonical" : "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer"
                  }
                ],
                "url" : "http://hl7.org/fhir/StructureDefinition/obligation"
              }
            ],
            "path" : "RelatedPerson.address"
          }
        ]
      }
    }