PackagesCanonicalsLogsProblems
    Packages
    fhir.org.nz.ig.base@2.0.0
    http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
description: New Zealand Geocode. This uses a different datum from that defined in the HL7 FHIR specification for a Geocode.
package_name: fhir.org.nz.ig.base
derivation: constraint
name: Nz_geocode
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        latitude:
          match: {}
          schema:
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: uri, value: latitude}
                type: uri
                index: 3
              value:
                choices: [valueDecimal]
                index: 5
              valueDecimal: {type: decimal, choiceOf: value, index: 6}
        longitude:
          match: {}
          schema:
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: uri, value: longitude}
                type: uri
                index: 9
              value:
                choices: [valueDecimal]
                index: 11
              valueDecimal: {type: decimal, choiceOf: value, index: 12}
        datumCode:
          match: {}
          schema:
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: uri, value: datumCode}
                type: uri
                index: 15
              value:
                choices: [valueCodeableConcept]
                index: 17
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 18}
  url:
    pattern: {type: uri, value: 'http://hl7.org.nz/fhir/StructureDefinition/nz-geocode'}
    type: uri
    index: 20
  value:
    choices: []
    index: 22
package_version: 2.0.0
extensions:
  latitude:
    url: null
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: uri, value: latitude}
        type: uri
        index: 3
      value:
        choices: [valueDecimal]
        index: 5
      valueDecimal: {type: decimal, choiceOf: value, index: 6}
  longitude:
    url: null
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: uri, value: longitude}
        type: uri
        index: 9
      value:
        choices: [valueDecimal]
        index: 11
      valueDecimal: {type: decimal, choiceOf: value, index: 12}
  datumCode:
    url: null
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: uri, value: datumCode}
        type: uri
        index: 15
      value:
        choices: [valueCodeableConcept]
        index: 17
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 18}
class: extension
kind: complex-type
url: http://hl7.org.nz/fhir/StructureDefinition/nz-geocode
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0