FHIRPath Specification
3.0.0-ballot - R2 STU1 International flag

FHIRPath Specification, published by Implementable Technology Specifications WG. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/FHIRPath/ and changes regularly. See the Directory of published versions

: Example Patient - JSON Representation

Raw json | Download

// managingOrganization>
		<reference value="Organization/1"/>
	</managingOrganization
{
  "resourceType" : "Patient",
  "id" : "example",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jim  Male, DoB: 1974-12-25 ( Medical record number\u00a0(use:\u00a0usual,\u00a0period:\u00a02001-05-06 --&gt; (ongoing)))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>-unknown-(Home)</li><li>ph: (03) 5555 6473(Work)</li><li>ph: (03) 3410 5613(Mobile)</li><li>ph: (03) 5555 8834(Old)</li><li>534 Erewhon St PeasantVille, Rainbow, Vic  3999(home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Bénédicte du Marché  (Female)</li><li>534 Erewhon St PleasantVille Vic 3999 (home)</li><li><a href=\"tel:+33(237)998327\">+33 (237) 998327</a></li><li>Valid Period:2012 --&gt; (ongoing)</li></ul></td></tr></table></div>"
  },
  "identifier" : [
    //    MRN assigned by ACME healthcare on 6-May 2001   
    {
      "use" : "usual",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }
        ]
      },
      "system" : "urn:oid:1.2.36.146.595.217.0.1",
      "value" : "12345",
      "period" : {
        "start" : "2001-05-06"
      },
      "assigner" : {
        "display" : "Acme Healthcare"
      }
    }
  ],
  "active" : true,
  "name" : [
    //    Peter James Chalmers, but called "Jim"   
    {
      "use" : "official",
      "family" : "Chalmers",
      "given" : [
        "Peter",
        "James"
      ]
    },
    {
      "use" : "usual",
      "given" : [
        "Jim"
      ]
    },
    {
      "use" : "maiden",
      "family" : "Windsor",
      "given" : [
        "Peter",
        "James"
      ],
      "period" : //   Maiden names apply for anyone whose name changes as a result of marriage - irrespective of gender  
      {
        "end" : "2002"
      }
    }
  ],
  "telecom" : [
    //    home communication details aren't known   
    {
      "use" : "home"
    },
    {
      "system" : "phone",
      "value" : "(03) 5555 6473",
      "use" : "work",
      "rank" : 1
    },
    {
      "system" : "phone",
      "value" : "(03) 3410 5613",
      "use" : "mobile",
      "rank" : 2
    },
    {
      "system" : "phone",
      "value" : "(03) 5555 8834",
      "use" : "old",
      "period" : {
        "end" : "2014"
      }
    }
  ],
  "gender" : "male",
  "birthDate" : "1974-12-25",
  "_birthDate" : //    use FHIR code system for male / female   
  {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
        "valueDateTime" : "1974-12-25T14:35:45-05:00"
      }
    ]
  },
  "deceasedBoolean" : false,
  "address" : [
    {
      "use" : "home",
      "type" : "both",
      "text" : "534 Erewhon St PeasantVille, Rainbow, Vic  3999",
      "line" : [
        "534 Erewhon St"
      ],
      "city" : "PleasantVille",
      "district" : "Rainbow",
      "state" : "Vic",
      "postalCode" : "3999",
      "period" : {
        "start" : "1974-12-25"
      }
    }
  ],
  "contact" : [
    {
      "relationship" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v2-0131",
              "code" : "N"
            }
          ]
        }
      ],
      "name" : {
        "family" : "du Marché",
        "_family" : {
          "extension" : [
            //    the "du" part is a family name prefix (VV in iso 21090)   
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
              "valueString" : "VV"
            }
          ]
        },
        "given" : [
          "Bénédicte"
        ]
      },
      "telecom" : [
        {
          "system" : "phone",
          "value" : "+33 (237) 998327"
        }
      ],
      "address" : {
        "use" : "home",
        "type" : "both",
        "line" : [
          "534 Erewhon St"
        ],
        "city" : "PleasantVille",
        "district" : "Rainbow",
        "state" : "Vic",
        "postalCode" : "3999",
        "period" : {
          "start" : "1974-12-25"
        }
      },
      "gender" : "female",
      "period" : {
        "start" : "2012"
      }
    }
  ]
}