2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.2.6 Resource RelatedPerson - Examples

Example Index:

RelatedPerson Benedicte du MarcheXMLJSON
RelatedPerson Peter ChalmersXMLJSON
Sarah AbelsXMLJSON
Ariadne Bor-JansmaXMLJSON

5.2.6.1 Benedicte

XML

RelatedPerson Benedicte du Marche (id = "benedicte")

Raw XML

<RelatedPerson xmlns="http://hl7.org/fhir">
  <id value="benedicte"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <identifier>
    <use value="usual"/>
    <label value="INSEE"/>
    <system value="urn:oid:1.2.250.1.61"/>
    <value value="272117510400399"/>
  </identifier>
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <relationship>
    <coding>
      <system value="http://hl7.org/fhir/patient-contact-relationship"/>
      <code value="partner"/>
    </coding>
    <coding>
      <system value="http://hl7.org/fhir/v3/RoleCode"/>
      <code value="WIFE"/>
    </coding>
  </relationship>
  <name>
    <family value="du"><!--    the &quot;du&quot; part is a family name prefix (VV in iso 21090)    -->
      <extension url="http://hl7.org/fhir/Profileiso-21090#qualifier">
        <valueCode value="VV"/>
      </extension>
    </family>
    <family value="Marché"/>
    <given value="Bénédicte"/>
  </name>
  <telecom>
    <system value="phone"/>
    <value value="+33 (237) 998327"/>
  </telecom>
  <gender value="female"/>
  <address>
    <line value="43, Place du Marché Sainte Catherine"/>
    <city value="Paris"/>
    <postalCode value="75004"/>
    <country value="FRA"/>
  </address>
  <photo>
    <contentType value="image/jpeg"/>
    <url value="Binary/f016"/>
  </photo>
</RelatedPerson>

JSON

RelatedPerson Benedicte du Marche

Raw JSON (Canonical)

{
  "resourceType": "RelatedPerson",
  "id": "benedicte",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "identifier": [
    {
      "use": "usual",
      "label": "INSEE",
      "system": "urn:oid:1.2.250.1.61",
      "value": "272117510400399"
    }
  ],
  "patient": {
    "reference": "Patient/example"
  },
  "relationship": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/patient-contact-relationship",
        "code": "partner"
      },
      {
        "system": "http://hl7.org/fhir/v3/RoleCode",
        "code": "WIFE"
      }
    ]
  },
  "name": {
    "family": [
      "du",
      "Marché"
    ],
    "_family": [
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profileiso-21090#qualifier",
            "valueCode": "VV"
          }
        ]
      },
      null
    ],
    "given": [
      "Bénédicte"
    ]
  },
  "telecom": [
    {
      "system": "phone",
      "value": "+33 (237) 998327"
    }
  ],
  "gender": "female",
  "address": {
    "line": [
      "43, Place du Marché Sainte Catherine"
    ],
    "city": "Paris",
    "postalCode": "75004",
    "country": "FRA"
  },
  "photo": [
    {
      "contentType": "image/jpeg",
      "url": "Binary/f016"
    }
  ]
}

5.2.6.2 Peter

XML

RelatedPerson Peter Chalmers (id = "peter")

Raw XML

<RelatedPerson xmlns="http://hl7.org/fhir">
  <id value="peter"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <patient>
    <reference value="Patient/animal"/>
  </patient>
  <relationship>
    <coding>
      <system value="http://hl7.org/fhir/patient-contact-relationship"/>
      <code value="owner"/>
    </coding>
  </relationship>
  <name>
    <use value="official"/>
    <family value="Chalmers"/>
    <given value="Peter"/>
    <given value="James"/>
  </name>
  <telecom>
    <system value="phone"/>
    <value value="(03) 5555 6473"/>
    <use value="work"/>
  </telecom>
  <gender value="male"/>
  <address>
    <use value="home"/>
    <line value="534 Erewhon St"/>
    <city value="PleasantVille"/>
    <state value="Vic"/>
    <postalCode value="3999"/>
  </address>
  <photo>
    <contentType value="image/jpeg"/>
    <url value="Binary/f012"/>
  </photo>
  <period>
    <start value="2012-03-11"/>
  </period>
</RelatedPerson>

JSON

RelatedPerson Peter Chalmers

Raw JSON (Canonical)

{
  "resourceType": "RelatedPerson",
  "id": "peter",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "patient": {
    "reference": "Patient/animal"
  },
  "relationship": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/patient-contact-relationship",
        "code": "owner"
      }
    ]
  },
  "name": {
    "use": "official",
    "family": [
      "Chalmers"
    ],
    "given": [
      "Peter",
      "James"
    ]
  },
  "telecom": [
    {
      "system": "phone",
      "value": "(03) 5555 6473",
      "use": "work"
    }
  ],
  "gender": "male",
  "address": {
    "use": "home",
    "line": [
      "534 Erewhon St"
    ],
    "city": "PleasantVille",
    "state": "Vic",
    "postalCode": "3999"
  },
  "photo": [
    {
      "contentType": "image/jpeg",
      "url": "Binary/f012"
    }
  ],
  "period": {
    "start": "2012-03-11"
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.