# Extensión para provincia - HL7 FHIR Costa Rica - Core v0.0.1-ballot

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Extensión para provincia**

## Extension: Extensión para provincia 

| | | |
| :--- | :--- | :--- |
| *Official URL*:https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext | *Version*:0.0.1-ballot | |
| * Standards status: *[Draft](http://hl7.org/fhir/R5/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 0 | *Computable Name*:CRStateExt |
| **Copyright/Legal**: Utilizado con permiso de HL7 International, todos los derechos reservados Licencia Creative Commons | | |

Extensión para el código de la provincia basado en el ZipCode de Costa Rica.

**Context of Use**

**Usage info**

**Usages:**

* Use this Extension: [Tipo de Dato Dirección Base](StructureDefinition-cr-address-base.md)
* Examples for this Extension: [Patient/CRPatientWithAddress](Patient-CRPatientWithAddress.md) and [Patient/CRPatientWithContactSpouse](Patient-CRPatientWithContactSpouse.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.cr.core|current/StructureDefinition/cr-state-ext)

### Formal Views of Extension Content

 [Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-cr-state-ext.csv), [Excel](StructureDefinition-cr-state-ext.xlsx), [Schematron](StructureDefinition-cr-state-ext.sch) 

#### Terminology Bindings

#### Constraints



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "cr-state-ext",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
    "valueCode" : "can-bind"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cgp"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 0,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "draft",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"
      }]
    }
  }],
  "url" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext",
  "version" : "0.0.1-ballot",
  "name" : "CRStateExt",
  "title" : "Extensión para provincia",
  "status" : "draft",
  "experimental" : false,
  "date" : "2026-03-26T04:33:04+00:00",
  "publisher" : "Iniciativa HL7 Costa Rica",
  "contact" : [{
    "name" : "Iniciativa HL7 Costa Rica",
    "telecom" : [{
      "system" : "url",
      "value" : "https://hl7.or.cr"
    },
    {
      "system" : "email",
      "value" : "info@hl7.or.cr"
    }]
  },
  {
    "name" : "Iniciativa HL7 Costa Rica",
    "telecom" : [{
      "system" : "email",
      "value" : "info@hl7.or.cr",
      "use" : "work"
    },
    {
      "system" : "url",
      "value" : "https://hl7.or.cr",
      "use" : "work"
    }]
  }],
  "description" : "Extensión para el código de la provincia basado en el ZipCode de Costa Rica.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "CR",
      "display" : "Costa Rica"
    }]
  }],
  "copyright" : "Utilizado con permiso de HL7 International, todos los derechos reservados Licencia Creative Commons",
  "fhirVersion" : "5.0.0",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "type" : "element",
    "expression" : "Address.state"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Extension",
      "path" : "Extension",
      "short" : "Extensión para provincia",
      "definition" : "Extensión para el código de la provincia basado en el ZipCode de Costa Rica."
    },
    {
      "id" : "Extension.extension",
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "id" : "Extension.url",
      "path" : "Extension.url",
      "fixedUri" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext"
    },
    {
      "id" : "Extension.value[x]",
      "path" : "Extension.value[x]",
      "short" : "Código de la provincia basado en el ZipCode de Costa Rica.",
      "definition" : "Código numérico de la provincia en Costa Rica, utilizado en el sistema de códigos postales.",
      "min" : 1,
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : true,
      "binding" : {
        "strength" : "required",
        "description" : "Códigos de provincias de Costa Rica basados en el ZipCode.",
        "valueSet" : "https://hl7.or.cr/fhir/terminology/ValueSet/cr-provinces"
      }
    },
    {
      "id" : "Extension.value[x].coding",
      "path" : "Extension.value[x].coding",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Extension.value[x].coding.system",
      "path" : "Extension.value[x].coding.system",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Extension.value[x].coding.code",
      "path" : "Extension.value[x].coding.code",
      "min" : 1,
      "mustSupport" : true
    }]
  }
}

```
