Patient address extension

Hi,

Could you help me on extension or something like this.
I’d like to enhance the patient address with geolocalisation.
Geolocalisation seems to be only on location in this specification.

How to modify the patient model and respect the standard ?


“address”: [
{
“use”: “work”,
“line”: [
“400 George Street”
],
“city”: “Brisbane”,
“district”: “Ile de france”,
“state”: “QLD”,
“postalCode”: “4000”,
“country”: “AUS”,
“extension”: [
{
“url”:“http://hl7.org/fhir/StructureDefinition/patient-birthPlace??? ==> is there a definition”,
“valueAddress”: {
“latitude”: “3546543576.12345”,
“longitude”: “6543246873.154”
}
]
}
],

Thanks :wink:

Fab

There’s a standard extension to put Geolocation on address: http://hl7.org/fhir/extension-geolocation.html

(You can look for standard extensions here: http://build.fhir.org/extensibility-registry.html)

Thanks Lloyd,

I saw it yesterday too, now the result seems to be like this :slight_smile:

			"address": [
				{
					"use": "work",
					"line": [
						"400 George Street"
					],
					"city": "Brisbane",
					"district": "Ile de france",
					"state": "QLD",
					"postalCode": "4000",
					"country": "AUS",
					"extension": [
						{
							"extension": {
								"url": "latitude",
								"valueDecimal": "3546543576.12345"
							}
						},
						{
							"extension": {
								"url": "longitude",
								"valueDecimal": "6543246873.154"
							}
						}
					],
					"url": "http://hl7.org/fhir/StructureDefinition/geolocation"
				}
			],

I believe it should look like this:

"address": [
  {
    "use": "work",
    "line": [
      "400 George Street"
    ],
    "city": "Brisbane",
    "district": "Ile de france",
    "state": "QLD",
    "postalCode": "4000",
    "country": "AUS",
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/geolocation",
        "extension": [
          {
            "url": "latitude",
            "valueDecimal": "3546543576.12345"
          },
          {
            "url": "longitude",
            "valueDecimal": "6543246873.154"
          }
        ]
      }
    ]
  }
]

Thanks again Lloyd.

Fab