{
  "resourceType": "StructureDefinition",
  "id": "HVOPositionWGS84Logical",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://electronichealth.se/fhir/hvo/StructureDefinition/HVOPositionWGS84Logical",
  "name": "HVOPositionWGS84Logical",
  "title": "PositionWGS84",
  "status": "draft",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "PositionWGS84ToHVOLocationPosition",
      "uri": "HVOLocation.position"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://electronichealth.se/fhir/hvo/StructureDefinition/HVOPositionWGS84Logical",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "HVOPositionWGS84Logical",
        "path": "HVOPositionWGS84Logical",
        "short": "PositionWGS84",
        "definition": "Base definition for all types defined in FHIR type system.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "HVOPositionWGS84Logical",
          "min": 0,
          "max": "*"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HVOPositionWGS84Logical.latitud",
        "path": "HVOPositionWGS84Logical.latitud",
        "short": "latitud",
        "definition": "A rational number with implicit precision",
        "comment": "Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HVOPositionWGS84Logical.latitud",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "PositionWGS84ToHVOLocationPosition",
            "map": "HVOLocation.position.latitude"
          }
        ]
      },
      {
        "id": "HVOPositionWGS84Logical.longitud",
        "path": "HVOPositionWGS84Logical.longitud",
        "short": "longitud",
        "definition": "A rational number with implicit precision",
        "comment": "Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HVOPositionWGS84Logical.longitud",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "PositionWGS84ToHVOLocationPosition",
            "map": "HVOLocation.position.longitude"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "HVOPositionWGS84Logical",
        "path": "HVOPositionWGS84Logical",
        "short": "PositionWGS84"
      },
      {
        "id": "HVOPositionWGS84Logical.latitud",
        "path": "HVOPositionWGS84Logical.latitud",
        "short": "latitud",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "PositionWGS84ToHVOLocationPosition",
            "map": "HVOLocation.position.latitude"
          }
        ]
      },
      {
        "id": "HVOPositionWGS84Logical.longitud",
        "path": "HVOPositionWGS84Logical.longitud",
        "short": "longitud",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "PositionWGS84ToHVOLocationPosition",
            "map": "HVOLocation.position.longitude"
          }
        ]
      }
    ]
  }
}