{
  "resourceType": "Patient",
  "identifier": [
    {
      "period": {
        "start": "2001-05-06"
      },
      "assigner": {
        "display": "Acme Healthcare"
      },
      "use": "usual",
      "system": "urn:oid:1.2.36.146.595.217.0.1",
      "value": "12345"
    }
  ],
  "managingOrganization": {
    "reference": "Organization/1"
  },
  "_active": {
    "extension": [
      {
        "url": "http://example.org/fhir/StructureDefinition/recordStatus",
        "valueCode": "archived"
      }
    ]
  },
  "name": [
    {
      "given": [
        "Peter",
        "James"
      ],
      "use": "official",
      "family": "Chalmers"
    },
    {
      "given": [
        "Jim"
      ],
      "use": "usual"
    }
  ],
  "extension": [
    {
      "url": "http://example.org/fhir/StructureDefinition/patientAvatar",
      "valueReference": {
        "reference": "#pic1",
        "display": "Duck image"
      }
    },
    {
      "url": "http://example.org/fhir/StructureDefinition/complexExtensionExample",
      "extension": [
        {
          "url": "nestedA",
          "valueCoding": {
            "system": "http://demo.org/id/4",
            "code": "AB45",
            "extension": [
              {
                "url": "http://example.org/fhir/StructureDefinition/extraforcodingWithExt",
                "extension": [
                  {
                    "url": "extra1",
                    "valueString": "extra info"
                  }
                ]
              },
              {
                "url": "http://example.org/fhir/StructureDefinition/extraforcodingWithValue",
                "valueInteger": 45
              }
            ]
          }
        },
        {
          "url": "nestedB",
          "id": "q4",
          "extension": [
            {
              "url": "nestedB1",
              "valueString": "hello"
            }
          ]
        }
      ]
    }
  ],
  "modifierExtension": [
    {
      "url": "http://example.org/fhir/StructureDefinition/pi",
      "valueDecimal": 3.141592653589793
    },
    {
      "url": "http://example.org/fhir/StructureDefinition/max-decimal-precision",
      "valueDecimal": 1.00065022141624642
    }
  ],
  "gender": "male",
  "birthDate": "1974-12",
  "deceasedBoolean": true,
  "address": [
    {
      "use": "home",
      "line": [
        "534 Erewhon St"
      ],
      "city": "PleasantVille",
      "state": "Vic",
      "postalCode": "3999"
    }
  ],
  "maritalStatus": {
    "extension": [
      {
        "url": "http://example.org/fhir/StructureDefinition/nullFlavor",
        "valueCode": "ASKU"
      }
    ]
  },
  "multipleBirthInteger": 3,
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n      \u003ctable\u003e\n        \u003ctbody\u003e\n          \u003ctr\u003e\n            \u003ctd\u003eName\u003c/td\u003e\n            \u003ctd\u003ePeter James \u003cb\u003eChalmers\u003c/b\u003e (\u0026quot;Jim\u0026quot;)\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003eAddress\u003c/td\u003e\n            \u003ctd\u003e534 Erewhon, Pleasantville, Vic, 3999\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003eContacts\u003c/td\u003e\n            \u003ctd\u003eHome: unknown. Work: (03) 5555 6473\u003c/td\u003e\n          \u003c/tr\u003e\n          \u003ctr\u003e\n            \u003ctd\u003eId\u003c/td\u003e\n            \u003ctd\u003eMRN: 12345 (Acme Healthcare)\u003c/td\u003e\n          \u003c/tr\u003e\n        \u003c/tbody\u003e\n      \u003c/table\u003e\n    \u003c/div\u003e"
  },
  "contained": [
    {
      "resourceType": "Binary",
      "id": "pic1",
      "contentType": "image/gif",
      "data": "R0lGODlhEwARAPcAAAAAAAAA/+9aAO+1AP/WAP/eAP/eCP/eEP/eGP/nAP/nCP/nEP/nIf/nKf/nUv/nWv/vAP/vCP/vEP/vGP/vIf/vKf/vMf/vOf/vWv/vY//va//vjP/3c//3lP/3nP//tf//vf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEAAAEALAAAAAATABEAAAi+AAMIDDCgYMGBCBMSvMCQ4QCFCQcwDBGCA4cLDyEGECDxAoAQHjxwyKhQAMeGIUOSJJjRpIAGDS5wCDly4AALFlYOgHlBwwOSNydM0AmzwYGjBi8IHWoTgQYORg8QIGDAwAKhESI8HIDgwQaRDI1WXXAhK9MBBzZ8/XDxQoUFZC9IiCBh6wEHGz6IbNuwQoSpWxEgyLCXL8O/gAnylNlW6AUEBRIL7Og3KwQIiCXb9HsZQoIEUzUjNEiaNMKAAAA7"
    },
    {
      "resourceType": "Organization",
      "id": "org3141",
      "text": {
        "status": "generated",
        "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n      \u003cp\u003eGood Health Clinic\u003c/p\u003e\n    \u003c/div\u003e"
      },
      "identifier": [
        {
          "system": "urn:ietf:rfc:3986",
          "value": "2.16.840.1.113883.19.5"
        }
      ],
      "name": "Good Health Clinic"
    }
  ],
  "contact": [
    {
      "name": {
        "family": "du Marché",
        "_family": {
          "extension": [
            {
              "url": "http://example.org/fhir/StructureDefinition/qualifier",
              "valueString": "VV"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinitioniso-21090#nullFlavor",
              "valueCode": "ASKU"
            }
          ]
        },
        "_given": [
          null,
          {
            "id": "a3",
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/qualifier",
                "valueCode": "MID"
              }
            ]
          },
          null
        ],
        "given": [
          "Bénédicte",
          "Denise",
          "Marie"
        ]
      },
      "relationship": [
        {
          "coding": [
            {
              "system": "http://example.org/fhir/CodeSystem/patient-contact-relationship",
              "code": "partner"
            }
          ]
        }
      ],
      "telecom": [
        {
          "system": "phone",
          "value": "+33 (237) 998327"
        }
      ]
    }
  ],
  "generalPractitioner": [
    {
      "reference": "#org3141"
    }
  ],
  "telecom": [
    {
      "use": "home"
    },
    {
      "system": "phone",
      "value": "(03) 5555 6473",
      "use": "work"
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}