DO.COM.05 GeoLocation

The spdci:GeoLocation object represents a geographical coordinate set defined by a latitude, a longitude, and altitude (optional) according to the WGS 84 system, and an option for Google Plus Code.

References:

Location - HL7 FHIR v5.0.0

Google Plus Codes

This class is useful for specifying precise locations in a standardized, machine-readable format. It conforms to the global standard WGS 84 which is crucial for interoperability and accuracy in geographical data representation.

Property KeyData Type (and Restrictions)CardinalityDescription

latitude*

0...1

The latitude of a location. For example 37.42242 (WGS 84).

longitude*

0...1

The longitude of a location. For example -122.08585 (WGS 84).

altitude

0...1

The altitude of a location. For example 500M (WGS 84).

plus_code

0...1

Contains the plus code information for the location.

Example of Use

{
    "@context": {
        "spdci": "https://schema.spdci.org/common/v1/",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
        "schema": "http://schema.org/",
        "xsd": "http://www.w3.org/2001/XMLSchema#"
    },
    "@id": "spdci:GeoLocation_1",
    "@type": "spdci:GeoLocation",
    "latitude": 33.3128,
    "longitude": 44.3615
    "Altitude": 1000M
    "plus_code": " "
}

In this example, the spdci:geo_coordinates instance specifies a particular geographical location in Baghdad, Iraq. The latitude and longitude values are represented in decimal format as per the WGS 84 standard

JSON-LD File on GitHub

Last updated