# Resultado de Laboratorio - HbA1c - HL7 FHIR Costa Rica - Resultados de Laboratorio v0.0.2-draft

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Resultado de Laboratorio - HbA1c**

## Resource Profile: Resultado de Laboratorio - HbA1c 

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

 
Perfil FHIR de Observation utilizado en HL7 FHIR Costa Rica - Laboratorio para registrar resultados de Hemoglobina Glucosilada (HbA1c), incluyendo metadatos específicos de análisis de laboratorio. 

**Usages:**

* Examples for this Profile: [Observation/ObservationHbA1cExample](Observation-ObservationHbA1cExample.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.cr.laboratory-results|current/StructureDefinition/cr-lab-result-hba1c)

### Formal Views of Profile Content

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

 

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



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "cr-lab-result-hba1c",
  "language" : "es",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 0
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "draft"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cgp"
  }],
  "url" : "https://hl7.or.cr/fhir/laboratory-results/StructureDefinition/cr-lab-result-hba1c",
  "version" : "0.0.2",
  "name" : "CRLabResultHbA1c",
  "title" : "Resultado de Laboratorio - HbA1c",
  "status" : "draft",
  "experimental" : false,
  "date" : "2025-12-25",
  "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" : "Perfil FHIR de Observation utilizado en HL7 FHIR Costa Rica - Laboratorio para registrar resultados de Hemoglobina Glucosilada (HbA1c), incluyendo metadatos específicos de análisis de laboratorio.",
  "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" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "sct-concept",
    "uri" : "http://snomed.info/conceptdomain",
    "name" : "SNOMED CT Concept Domain Binding"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 V2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "sct-attr",
    "uri" : "http://snomed.org/attributebinding",
    "name" : "SNOMED CT Attribute Binding"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Observation",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Observation|5.0.0",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Observation",
      "path" : "Observation"
    },
    {
      "id" : "Observation.identifier",
      "path" : "Observation.identifier",
      "short" : "Identificador único del resultado.",
      "definition" : "Identificador único del resultado de laboratorio, como número de acceso o código de laboratorio.",
      "min" : 1,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Observation.status",
      "path" : "Observation.status",
      "short" : "Estado del resultado.",
      "definition" : "Estado actual del resultado de laboratorio: registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown",
      "mustSupport" : true,
      "binding" : {
        "strength" : "required",
        "description" : "Estados de Observation definidos en FHIR.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-status|5.0.0"
      }
    },
    {
      "id" : "Observation.category",
      "path" : "Observation.category",
      "short" : "Categoría del resultado.",
      "definition" : "Categoría del resultado: debe indicar 'laboratory' para resultados de laboratorio.",
      "comment" : "Se debe utilizar 'laboratory' como categoría para resultados de laboratorio clínico.",
      "min" : 1,
      "max" : "1",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "laboratory"
        }]
      },
      "mustSupport" : true
    },
    {
      "id" : "Observation.code",
      "path" : "Observation.code",
      "short" : "Código de la prueba - HbA1c",
      "definition" : "Código LOINC para Hemoglobina Glucosilada (HbA1c).",
      "comment" : "LOINC code 4548-4 para Hemoglobina A1c/Hemoglobina total en sangre",
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "4548-4"
        }]
      },
      "mustSupport" : true
    },
    {
      "id" : "Observation.subject",
      "path" : "Observation.subject",
      "short" : "Paciente del resultado.",
      "definition" : "Referencia al recurso Patient que es el sujeto del resultado.",
      "comment" : "El paciente DEBE ser registrado según el perfil CRLabResultPatient que incorpora las características de CRCorePatient.",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://hl7.or.cr/fhir/laboratory-results/StructureDefinition/cr-lab-result-patient|0.0.2"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Observation.encounter",
      "path" : "Observation.encounter",
      "short" : "Encuentro asociado al resultado.",
      "definition" : "Referencia al Encounter durante el cual se realizó la prueba.",
      "mustSupport" : true
    },
    {
      "id" : "Observation.effective[x]",
      "path" : "Observation.effective[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "min" : 1
    },
    {
      "id" : "Observation.effective[x]:effectiveDateTime",
      "path" : "Observation.effective[x]",
      "sliceName" : "effectiveDateTime",
      "short" : "Fecha y hora del resultado.",
      "definition" : "Fecha y hora en que se realizó o fue completada la prueba de laboratorio.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Observation.issued",
      "path" : "Observation.issued",
      "short" : "Fecha y hora de emisión del resultado.",
      "definition" : "Fecha y hora en que se emitió el resultado de laboratorio.",
      "comment" : "Típicamente posterior a effectiveDateTime.",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Observation.performer",
      "path" : "Observation.performer",
      "short" : "Responsable del resultado.",
      "definition" : "Referencia a la Organización o Practitioner responsable del resultado.",
      "comment" : "Cuando sea posible, DEBE usar los perfiles específicos CRCoreOrganization y CRCorePractitioner de la IG Core de Costa Rica.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization|5.0.0",
        "http://hl7.org/fhir/StructureDefinition/Practitioner|5.0.0"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Observation.value[x]",
      "path" : "Observation.value[x]",
      "short" : "Valor de HbA1c.",
      "definition" : "Valor numérico de la Hemoglobina Glucosilada.",
      "min" : 1,
      "type" : [{
        "code" : "Quantity"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Observation.value[x].value",
      "path" : "Observation.value[x].value",
      "short" : "Valor numérico",
      "definition" : "Valor numérico del resultado (ej: 7.5)",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Observation.value[x].unit",
      "path" : "Observation.value[x].unit",
      "short" : "Unidad de medida",
      "definition" : "Unidad de medida para HbA1c (generalmente %)",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Observation.value[x].system",
      "path" : "Observation.value[x].system",
      "min" : 1,
      "patternUri" : "http://unitsofmeasure.org",
      "mustSupport" : true
    },
    {
      "id" : "Observation.value[x].code",
      "path" : "Observation.value[x].code",
      "min" : 1,
      "patternCode" : "%",
      "mustSupport" : true
    },
    {
      "id" : "Observation.interpretation",
      "path" : "Observation.interpretation",
      "short" : "Interpretación del resultado.",
      "definition" : "Indica si el resultado está dentro de los valores normales, alto, bajo, etc.",
      "mustSupport" : true,
      "binding" : {
        "strength" : "extensible",
        "description" : "Interpretación de valores anormales de Observation.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/observation-interpretation|5.0.0"
      }
    },
    {
      "id" : "Observation.note",
      "path" : "Observation.note",
      "short" : "Notas o comentarios adicionales.",
      "definition" : "Comentarios adicionales o notas sobre el resultado.",
      "mustSupport" : true
    },
    {
      "id" : "Observation.referenceRange",
      "path" : "Observation.referenceRange",
      "short" : "Rango de referencia.",
      "definition" : "Rango de valores considerados normales para HbA1c.",
      "mustSupport" : true
    },
    {
      "id" : "Observation.referenceRange.low",
      "path" : "Observation.referenceRange.low",
      "short" : "Límite inferior del rango.",
      "mustSupport" : true
    },
    {
      "id" : "Observation.referenceRange.high",
      "path" : "Observation.referenceRange.high",
      "short" : "Límite superior del rango.",
      "mustSupport" : true
    },
    {
      "id" : "Observation.referenceRange.text",
      "path" : "Observation.referenceRange.text",
      "short" : "Texto descriptivo del rango",
      "mustSupport" : true
    }]
  }
}

```
