This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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.5 Resource RelatedPerson - Examples

Example Index:

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

5.2.5.1 Benedicte

XML

RelatedPerson Benedicte du Marche (id = "benedicte")

Raw XML

<RelatedPerson xmlns="http://hl7.org/fhir">
  <text>

    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table>
        <tbody>
          <tr>
            <td>Name</td>
            <td>Bénédicte du Marché</td>
          </tr>
          <tr>
            <td>Address</td>
            <td>43, Place du Marché Sainte Catherine, 75004 Paris, France</td>
          </tr>
          <tr>
            <td>Contacts</td>
            <td>Phone: +33 (237) 998327</td>
          </tr>
        </tbody>
      </table>
    </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>
    <coding>
      <system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
      <code value="F"/>
      <display value="Female"/>
    </coding>
  </gender>
 
  <address>
    <line value="43, Place du Marché Sainte Catherine"/>
    <city value="Paris"/>
    <zip value="75004"/>
    <country value="FRA"/>
  </address>
  
  <photo>
    <contentType value="image/jpeg"/>
    <url value="binary/@f016"/>
  </photo>
</RelatedPerson>

JSON

RelatedPerson Benedicte du Marche

{
  "resourceType": "RelatedPerson",
  "text": {
    "status": "generated",
    "div": "<div>\n      <table>\n        <tbody>\n          <tr>\n            <td>Name</td>\n            <td>Bénédicte du Marché</td>\n          </tr>\n          <tr>\n            <td>Address</td>\n            <td>43, Place du Marché Sainte Catherine, 75004 Paris, France</td>\n          </tr>\n          <tr>\n            <td>Contacts</td>\n            <td>Phone: +33 (237) 998327</td>\n          </tr>\n        </tbody>\n      </table>\n    </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": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/v3/AdministrativeGender",
        "code": "F",
        "display": "Female"
      }
    ]
  },
  "address": {
    "line": [
      "43, Place du Marché Sainte Catherine"
    ],
    "city": "Paris",
    "zip": "75004",
    "country": "FRA"
  },
  "photo": [
    {
      "contentType": "image/jpeg",
      "url": "binary/@f016"
    }
  ]
}

5.2.5.2 Peter

XML

RelatedPerson Peter Chalmers (id = "peter")

Raw XML

<RelatedPerson xmlns="http://hl7.org/fhir">
  <text>

    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table>
        <tbody>
          <tr>
            <td>Name</td>
            <td>Peter Chalmers</td>
          </tr>
          <tr>
            <td>Address</td>
            <td>534 Erewhon, Pleasantville, Vic, 3999</td>
          </tr>
          <tr>
            <td>Contacts</td>
            <td>Work: (03) 5555 6473</td>
          </tr>
        </tbody>
      </table>
    </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>
    <coding>
      <system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
      <code value="M"/>
      <display value="Male"/>
    </coding>
  </gender>

  <address>
    <use value="home"/>
    <line value="534 Erewhon St"/>
    <city value="PleasantVille"/>
    <state value="Vic"/>
    <zip value="3999"/>
  </address>

  <photo>
    <contentType value="image/jpeg"/>
    <url value="binary/@f012"/>
  </photo>
</RelatedPerson>

JSON

RelatedPerson Peter Chalmers

{
  "resourceType": "RelatedPerson",
  "text": {
    "status": "generated",
    "div": "<div>\n      <table>\n        <tbody>\n          <tr>\n            <td>Name</td>\n            <td>Peter Chalmers</td>\n          </tr>\n          <tr>\n            <td>Address</td>\n            <td>534 Erewhon, Pleasantville, Vic, 3999</td>\n          </tr>\n          <tr>\n            <td>Contacts</td>\n            <td>Work: (03) 5555 6473</td>\n          </tr>\n        </tbody>\n      </table>\n    </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": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/v3/AdministrativeGender",
        "code": "M",
        "display": "Male"
      }
    ]
  },
  "address": {
    "use": "home",
    "line": [
      "534 Erewhon St"
    ],
    "city": "PleasantVille",
    "state": "Vic",
    "zip": "3999"
  },
  "photo": [
    {
      "contentType": "image/jpeg",
      "url": "binary/@f012"
    }
  ]
}

comments powered by Disqus