<StructureDefinition xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
  <id value="ext-Address-MunicipalityCode" />
  <url value="https://bpcs.exchange/fhir/StructureDefinition/ext-Address-MunicipalityCode" />
  <name value="AddressMunicipalityCode" />
  <title value="Addresss Municipality Code" />
  <status value="active" />
  <experimental value="false" />
  <description value="Code identifying the municipality area, derived from the postal code through the municipality code table." />
  <fhirVersion value="5.0.0" />
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Address" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Municipality code" />
      <definition value="Code identifying the municipality area, derived from the postal code through the municipality code table." />
      <max value="1" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://bpcs.exchange/fhir/StructureDefinition/ext-Address-MunicipalityCode" />
      <mustSupport value="true" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <comment value="The binding is extensible to allow for the addition of new codes.  Codes must be found in the current expansion of the value set." />
      <min value="1" />
      <type>
        <code value="Coding" />
        <profile value="https://bpcs.exchange/fhir/StructureDefinition/profile-Coding-simple" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://bpcs.exchange/fhir/ValueSet/vs-Municipality" />
      </binding>
    </element>
  </differential>
</StructureDefinition>