HL7® Iniciativa Costa Rica

Guía de Implementación de Resultados de Laboratorio de Costa Rica
0.1.0 - ci-build Costa Rica bandera

Guía de Implementación de Resultados de Laboratorio de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.

Perfil de los recursos: Provenance Resultado de Laboratorio ( Experimental )

URL oficial: https://hl7.or.cr/fhir/labresult/StructureDefinition/cr-provenance-laboratory-result Versión: 0.1.0
Standards status: Informative * Nombre computable: CRProvenanceLaboratoryResult

Perfil de trazabilidad para documentar el origen y la cadena de custodia de los resultados de laboratorio (DiagnosticReport) en el PoC de Costa Rica. Cubre el flujo desde el sistema de origen (LIS o laboratorio) hasta el repositorio FHIR.

Usos:

También puede consultar los usos en las estadísticas de IG de FHIR

Vistas formales del contenido del perfil

Descripción de perfiles, diferenciales, instantáneas y sus representaciones.

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance C 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Constraints: cr-procedencia-amend, cr-procedencia-merge, cr-procedencia-transform, cr-procedencia-sistema, cr-procedencia-organizacion, cr-procedencia-fechas, cr-procedencia-firmante, cr-procedencia-target-version
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Provenance.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Provenance.contained 0..* Resource Recursos contenidos en línea
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Provenance.occurred[x] This element must be supported. C 0..1 dateTime Cuándo ocurrió la actividad (no posterior al registro)
Constraints: cr-documento-fecha-hora
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Provenance.policy This element must be supported. 0..* uri Mapa (StructureMap) o política aplicada (obligatoria en una transformación)
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Vinculación: Actividad de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.patient This element must be supported. 0..1 Reference(Paciente) Paciente de los recursos (obligatorio si son de un paciente)
Provenance.encounter This element must be supported. 0..1 Reference(Atención) Atención en la que ocurrió la actividad
Provenance.Slices para agent This element must be supported. This element is included in summaries. C 2..* BackboneElement Sistemas o personas que participaron en la cadena de custodia
Slice: Sin orden, Abierto by value:type
Constraints: prov-1, prov-2, prov-3

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices para agent.agent:All Slices Contenido y reglas para todos los slices
Provenance.Slices para agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.agent:All Slices.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Tipo: author | performer | transmitter | assembler
Vinculación: Tipo de agente de la procedencia (required)
Provenance.Slices para agent.agent:All Slices.who This element must be supported. This element is included in summaries. C 1..1 Reference(Rol del profesional | Profesional de salud | Sistema de información | Organización | Paciente) Quién: el profesional por su rol o el sistema por su registro en el HIE
Provenance.Slices para agent.agent:All Slices.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:autor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. C 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Provenance.Slices para agent.:autor.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:custodio.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. C 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Provenance.Slices para agent.:custodio.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Vinculación: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Provenance.signature This element must be supported. 1..* Signature Firma digital JAdES de GAUDÍ, detached: cubre la procedencia y las versiones de target
Provenance.signature.type This element must be supported. This element is included in summaries. 1..* Coding Propósito de la firma; confirmar el código aplicable al sello electrónico organizacional
Vinculación: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
Provenance.signature.when This element must be supported. This element is included in summaries. 1..1 instant Momento de la firma
Provenance.signature.who This element must be supported. This element is included in summaries. 1..1 Reference(Rol del profesional | Profesional de salud | Organización) Quien firma: el profesional o la organización propietaria del sistema
Provenance.signature.targetFormat This element must be supported. 1..1 code application/fhir+json (valor fijo)
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/fhir+json (extensions allowed)
Provenance.signature.sigFormat This element must be supported. 1..1 code application/jose+json (valor fijo): JAdES para JSON de GAUDÍ, en serialización JWS JSON
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/jose+json (extensions allowed)
Provenance.signature.data This element must be supported. 1..1 base64Binary Firma JAdES de GAUDÍ sobre el Bundle de trabajo: el JWS en serialización JSON, en base64 con relleno

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Provenance.activity Base required Actividad de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:autor.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:custodio.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 Estándar FHIR

How an entity was used in an activity.

Provenance.signature.​type Base preferred Signature Type Codes 📍5.0.0 Estándar FHIR

An indication of the reason that an entity signed the object.

Provenance.signature.​targetFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Provenance.signature.​sigFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-documento-fecha-hora error Provenance.occurred[x] La fecha lleva fecha y hora, no solo la fecha. toString().contains('T')
cr-procedencia-amend error Provenance Una corrección (amend) indica la versión anterior (entity con role revision). activity.coding.where(code = 'amend').exists() implies entity.where(role = 'revision').exists()
cr-procedencia-fechas error Provenance La fecha de la actividad no es posterior a la fecha de registro. occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
cr-procedencia-firmante error Provenance Quien firma es uno de los agentes o la organización en cuyo nombre actúa un agente. signature.all(who.reference.empty() or who.reference in (%resource.agent.who.reference | %resource.agent.onBehalfOf.reference))
cr-procedencia-merge error Provenance Una unión (merge) indica el registro unido (entity con role source). activity.coding.where(code = 'merge').exists() implies entity.where(role = 'source').exists()
cr-procedencia-organizacion warning Provenance Un agente que es un profesional o un sistema indica la organización en cuyo nombre actúa (onBehalfOf). agent.where(who.resolve() is PractitionerRole or who.resolve() is Practitioner or who.resolve() is Device or who.type in ('PractitionerRole' | 'Practitioner' | 'Device') or who.reference.contains('PractitionerRole/') or who.reference.contains('Practitioner/') or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).all(onBehalfOf.exists())
cr-procedencia-sistema error Provenance Al menos un agente es un sistema de información (Device, o su identificador del registro de sistemas del HIE). agent.where(who.resolve() is Device or who.type = 'Device' or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).exists()
cr-procedencia-target-version error Provenance Una referencia literal en target nombra la versión del recurso (<Recurso>/<id>/_history/<versión>). target.all(reference.empty() or reference.startsWith('#') or reference.contains('/_history/'))
cr-procedencia-transform error Provenance Una transformación (transform) indica el dato de origen (entity con role source) y el mapa aplicado (policy). activity.coding.where(code = 'transform').exists() implies (entity.where(role = 'source').exists() and policy.exists())
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 buena práctica Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **TODOS** los elementos All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **TODAS** las extensiones Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

Esta estructura se deriva de CRProvenance .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Other Changes: documentation
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Other Changes: documentation
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}

Other Changes: documentation
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Other Changes: documentation
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}

Other Changes: documentation
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Other Changes: documentation
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Other Changes: documentation
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Other Changes: documentation
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Other Changes: documentation

doco Documentación de este formato
NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance C 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Constraints: cr-procedencia-amend, cr-procedencia-merge, cr-procedencia-transform, cr-procedencia-sistema, cr-procedencia-organizacion, cr-procedencia-fechas, cr-procedencia-firmante, cr-procedencia-target-version
Provenance.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Provenance.meta This element is included in summaries. 0..1 Meta Metadatos del recurso
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Provenance.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Provenance.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Provenance.contained 0..* Resource Recursos contenidos en línea
Provenance.extension 0..* Extension Contenido adicional definido por las implementaciones
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Provenance.occurred[x] This element must be supported. C 0..1 dateTime Cuándo ocurrió la actividad (no posterior al registro)
Constraints: cr-documento-fecha-hora
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Provenance.policy This element must be supported. 0..* uri Mapa (StructureMap) o política aplicada (obligatoria en una transformación)
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.authorization 0..* CodeableReference() Authorization (purposeOfUse) related to the event
Vinculación: PurposeOfUse (example): The authorized purposeOfUse for the activity.
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Vinculación: Actividad de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
Provenance.patient This element must be supported. 0..1 Reference(Paciente) Paciente de los recursos (obligatorio si son de un paciente)
Provenance.encounter This element must be supported. 0..1 Reference(Atención) Atención en la que ocurrió la actividad
Provenance.Slices para agent This element must be supported. This element is included in summaries. C 2..* BackboneElement Sistemas o personas que participaron en la cadena de custodia
Slice: Sin orden, Abierto by value:type
Constraints: prov-1, prov-2, prov-3

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices para agent.agent:All Slices Contenido y reglas para todos los slices
Provenance.Slices para agent.agent:All Slices.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.agent:All Slices.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.agent:All Slices.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Tipo: author | performer | transmitter | assembler
Vinculación: Tipo de agente de la procedencia (required)
Provenance.Slices para agent.agent:All Slices.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.agent:All Slices.who This element must be supported. This element is included in summaries. C 1..1 Reference(Rol del profesional | Profesional de salud | Sistema de información | Organización | Paciente) Quién: el profesional por su rol o el sistema por su registro en el HIE
Provenance.Slices para agent.agent:All Slices.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:autor.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.:autor.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.:autor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}
Provenance.Slices para agent.:autor.type.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:autor.type.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:autor.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices para agent.:autor.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices para agent.:autor.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices para agent.:autor.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. C 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Provenance.Slices para agent.:autor.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:custodio.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.:custodio.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}
Provenance.Slices para agent.:custodio.type.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.type.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices para agent.:custodio.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices para agent.:custodio.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices para agent.:custodio.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. C 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Provenance.Slices para agent.:custodio.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Provenance.entity.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Vinculación: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Provenance.entity.agent 0..* Vea agent (Provenance) Entity is attributed to this agent
Provenance.signature This element must be supported. 1..* Signature Firma digital JAdES de GAUDÍ, detached: cubre la procedencia y las versiones de target
Provenance.signature.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.signature.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.signature.type This element must be supported. This element is included in summaries. 1..* Coding Propósito de la firma; confirmar el código aplicable al sello electrónico organizacional
Vinculación: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
Provenance.signature.when This element must be supported. This element is included in summaries. 1..1 instant Momento de la firma
Provenance.signature.who This element must be supported. This element is included in summaries. 1..1 Reference(Rol del profesional | Profesional de salud | Organización) Quien firma: el profesional o la organización propietaria del sistema
Provenance.signature.onBehalfOf This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
Provenance.signature.targetFormat This element must be supported. 1..1 code application/fhir+json (valor fijo)
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/fhir+json (extensions allowed)
Provenance.signature.sigFormat This element must be supported. 1..1 code application/jose+json (valor fijo): JAdES para JSON de GAUDÍ, en serialización JWS JSON
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/jose+json (extensions allowed)
Provenance.signature.data This element must be supported. 1..1 base64Binary Firma JAdES de GAUDÍ sobre el Bundle de trabajo: el JWS en serialización JSON, en base64 con relleno

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Provenance.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5

The authorized purposeOfUse for the activity.

Provenance.activity Base required Actividad de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.agent:autor.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:autor.​role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.agent:custodio.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:custodio.​role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 Estándar FHIR

How an entity was used in an activity.

Provenance.signature.​type Base preferred Signature Type Codes 📍5.0.0 Estándar FHIR

An indication of the reason that an entity signed the object.

Provenance.signature.​targetFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Provenance.signature.​sigFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-documento-fecha-hora error Provenance.occurred[x] La fecha lleva fecha y hora, no solo la fecha. toString().contains('T')
cr-procedencia-amend error Provenance Una corrección (amend) indica la versión anterior (entity con role revision). activity.coding.where(code = 'amend').exists() implies entity.where(role = 'revision').exists()
cr-procedencia-fechas error Provenance La fecha de la actividad no es posterior a la fecha de registro. occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
cr-procedencia-firmante error Provenance Quien firma es uno de los agentes o la organización en cuyo nombre actúa un agente. signature.all(who.reference.empty() or who.reference in (%resource.agent.who.reference | %resource.agent.onBehalfOf.reference))
cr-procedencia-merge error Provenance Una unión (merge) indica el registro unido (entity con role source). activity.coding.where(code = 'merge').exists() implies entity.where(role = 'source').exists()
cr-procedencia-organizacion warning Provenance Un agente que es un profesional o un sistema indica la organización en cuyo nombre actúa (onBehalfOf). agent.where(who.resolve() is PractitionerRole or who.resolve() is Practitioner or who.resolve() is Device or who.type in ('PractitionerRole' | 'Practitioner' | 'Device') or who.reference.contains('PractitionerRole/') or who.reference.contains('Practitioner/') or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).all(onBehalfOf.exists())
cr-procedencia-sistema error Provenance Al menos un agente es un sistema de información (Device, o su identificador del registro de sistemas del HIE). agent.where(who.resolve() is Device or who.type = 'Device' or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).exists()
cr-procedencia-target-version error Provenance Una referencia literal en target nombra la versión del recurso (<Recurso>/<id>/_history/<versión>). target.all(reference.empty() or reference.startsWith('#') or reference.contains('/_history/'))
cr-procedencia-transform error Provenance Una transformación (transform) indica el dato de origen (entity con role source) y el mapa aplicado (policy). activity.coding.where(code = 'transform').exists() implies (entity.where(role = 'source').exists() and policy.exists())
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 buena práctica Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **TODOS** los elementos All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **TODAS** las extensiones Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

Vista de elementos clave

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance C 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Constraints: cr-procedencia-amend, cr-procedencia-merge, cr-procedencia-transform, cr-procedencia-sistema, cr-procedencia-organizacion, cr-procedencia-fechas, cr-procedencia-firmante, cr-procedencia-target-version
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Provenance.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Provenance.contained 0..* Resource Recursos contenidos en línea
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Provenance.occurred[x] This element must be supported. C 0..1 dateTime Cuándo ocurrió la actividad (no posterior al registro)
Constraints: cr-documento-fecha-hora
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Provenance.policy This element must be supported. 0..* uri Mapa (StructureMap) o política aplicada (obligatoria en una transformación)
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Vinculación: Actividad de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.patient This element must be supported. 0..1 Reference(Paciente) Paciente de los recursos (obligatorio si son de un paciente)
Provenance.encounter This element must be supported. 0..1 Reference(Atención) Atención en la que ocurrió la actividad
Provenance.Slices para agent This element must be supported. This element is included in summaries. C 2..* BackboneElement Sistemas o personas que participaron en la cadena de custodia
Slice: Sin orden, Abierto by value:type
Constraints: prov-1, prov-2, prov-3

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices para agent.agent:All Slices Contenido y reglas para todos los slices
Provenance.Slices para agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.agent:All Slices.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Tipo: author | performer | transmitter | assembler
Vinculación: Tipo de agente de la procedencia (required)
Provenance.Slices para agent.agent:All Slices.who This element must be supported. This element is included in summaries. C 1..1 Reference(Rol del profesional | Profesional de salud | Sistema de información | Organización | Paciente) Quién: el profesional por su rol o el sistema por su registro en el HIE
Provenance.Slices para agent.agent:All Slices.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:autor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. C 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Provenance.Slices para agent.:autor.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:custodio.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. C 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Provenance.Slices para agent.:custodio.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Vinculación: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Provenance.signature This element must be supported. 1..* Signature Firma digital JAdES de GAUDÍ, detached: cubre la procedencia y las versiones de target
Provenance.signature.type This element must be supported. This element is included in summaries. 1..* Coding Propósito de la firma; confirmar el código aplicable al sello electrónico organizacional
Vinculación: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
Provenance.signature.when This element must be supported. This element is included in summaries. 1..1 instant Momento de la firma
Provenance.signature.who This element must be supported. This element is included in summaries. 1..1 Reference(Rol del profesional | Profesional de salud | Organización) Quien firma: el profesional o la organización propietaria del sistema
Provenance.signature.targetFormat This element must be supported. 1..1 code application/fhir+json (valor fijo)
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/fhir+json (extensions allowed)
Provenance.signature.sigFormat This element must be supported. 1..1 code application/jose+json (valor fijo): JAdES para JSON de GAUDÍ, en serialización JWS JSON
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/jose+json (extensions allowed)
Provenance.signature.data This element must be supported. 1..1 base64Binary Firma JAdES de GAUDÍ sobre el Bundle de trabajo: el JWS en serialización JSON, en base64 con relleno

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Provenance.activity Base required Actividad de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:autor.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:custodio.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 Estándar FHIR

How an entity was used in an activity.

Provenance.signature.​type Base preferred Signature Type Codes 📍5.0.0 Estándar FHIR

An indication of the reason that an entity signed the object.

Provenance.signature.​targetFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Provenance.signature.​sigFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-documento-fecha-hora error Provenance.occurred[x] La fecha lleva fecha y hora, no solo la fecha. toString().contains('T')
cr-procedencia-amend error Provenance Una corrección (amend) indica la versión anterior (entity con role revision). activity.coding.where(code = 'amend').exists() implies entity.where(role = 'revision').exists()
cr-procedencia-fechas error Provenance La fecha de la actividad no es posterior a la fecha de registro. occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
cr-procedencia-firmante error Provenance Quien firma es uno de los agentes o la organización en cuyo nombre actúa un agente. signature.all(who.reference.empty() or who.reference in (%resource.agent.who.reference | %resource.agent.onBehalfOf.reference))
cr-procedencia-merge error Provenance Una unión (merge) indica el registro unido (entity con role source). activity.coding.where(code = 'merge').exists() implies entity.where(role = 'source').exists()
cr-procedencia-organizacion warning Provenance Un agente que es un profesional o un sistema indica la organización en cuyo nombre actúa (onBehalfOf). agent.where(who.resolve() is PractitionerRole or who.resolve() is Practitioner or who.resolve() is Device or who.type in ('PractitionerRole' | 'Practitioner' | 'Device') or who.reference.contains('PractitionerRole/') or who.reference.contains('Practitioner/') or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).all(onBehalfOf.exists())
cr-procedencia-sistema error Provenance Al menos un agente es un sistema de información (Device, o su identificador del registro de sistemas del HIE). agent.where(who.resolve() is Device or who.type = 'Device' or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).exists()
cr-procedencia-target-version error Provenance Una referencia literal en target nombra la versión del recurso (<Recurso>/<id>/_history/<versión>). target.all(reference.empty() or reference.startsWith('#') or reference.contains('/_history/'))
cr-procedencia-transform error Provenance Una transformación (transform) indica el dato de origen (entity con role source) y el mapa aplicado (policy). activity.coding.where(code = 'transform').exists() implies (entity.where(role = 'source').exists() and policy.exists())
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 buena práctica Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **TODOS** los elementos All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **TODAS** las extensiones Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

Vista diferencial

Esta estructura se deriva de CRProvenance .

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Other Changes: documentation
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Other Changes: documentation
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.Slices para agent This element must be supported. This element is included in summaries. 2..* BackboneElement Sistemas o personas que participaron en la cadena de custodia
Slice: Sin orden, Abierto by value:type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Other Changes: documentation
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}

Other Changes: documentation
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Other Changes: documentation
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}

Other Changes: documentation
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Other Changes: documentation
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Other Changes: documentation
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Other Changes: documentation
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Other Changes: documentation

doco Documentación de este formato

Vista instantáneaView

NombreMarcasCard.TipoDescripción y restricciones    Filter: doco
Provenance C 0..* CRProvenance Procedencia: de dónde viene un dato y qué le pasó
Constraints: cr-procedencia-amend, cr-procedencia-merge, cr-procedencia-transform, cr-procedencia-sistema, cr-procedencia-organizacion, cr-procedencia-fechas, cr-procedencia-firmante, cr-procedencia-target-version
Provenance.id This element is included in summaries. 0..1 id Identificador lógico del recurso
Provenance.meta This element is included in summaries. 0..1 Meta Metadatos del recurso
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri Reglas que rigen la interpretación del contenido del recurso
Provenance.language 0..1 code Idioma del contenido del recurso
Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
Vinculaciones adicionalesPropósito
CommonLanguages Inicial
CommonLanguages Inicial
Provenance.text 0..1 Narrative Resumen narrativo del recurso para su interpretación humana
Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos
Provenance.contained 0..* Resource Recursos contenidos en línea
Provenance.extension 0..* Extension Contenido adicional definido por las implementaciones
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(DiagnosticReport Laboratorio) Reporte de laboratorio al que aplica esta provenance
Provenance.occurred[x] This element must be supported. C 0..1 dateTime Cuándo ocurrió la actividad (no posterior al registro)
Constraints: cr-documento-fecha-hora
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Fecha y hora en que se registró esta provenance
Provenance.policy This element must be supported. 0..* uri Mapa (StructureMap) o política aplicada (obligatoria en una transformación)
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.authorization 0..* CodeableReference() Authorization (purposeOfUse) related to the event
Vinculación: PurposeOfUse (example): The authorized purposeOfUse for the activity.
Provenance.activity This element must be supported. 1..1 CodeableConcept Actividad: originate | amend | merge | transform | receive
Vinculación: Actividad de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
      "code" : "originate"
    }
  ]
}
Provenance.basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
Provenance.patient This element must be supported. 0..1 Reference(Paciente) Paciente de los recursos (obligatorio si son de un paciente)
Provenance.encounter This element must be supported. 0..1 Reference(Atención) Atención en la que ocurrió la actividad
Provenance.Slices para agent This element must be supported. This element is included in summaries. C 2..* BackboneElement Sistemas o personas que participaron en la cadena de custodia
Slice: Sin orden, Abierto by value:type
Constraints: prov-1, prov-2, prov-3

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices para agent.agent:All Slices Contenido y reglas para todos los slices
Provenance.Slices para agent.agent:All Slices.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.agent:All Slices.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.agent:All Slices.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Tipo: author | performer | transmitter | assembler
Vinculación: Tipo de agente de la procedencia (required)
Provenance.Slices para agent.agent:All Slices.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.agent:All Slices.who This element must be supported. This element is included in summaries. C 1..1 Reference(Rol del profesional | Profesional de salud | Sistema de información | Organización | Paciente) Quién: el profesional por su rol o el sistema por su registro en el HIE
Provenance.Slices para agent.agent:All Slices.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:autor This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:autor.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.:autor.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.:autor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:autor.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: autor (laboratorio/LIS que generó el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "author"
    }
  ]
}
Provenance.Slices para agent.:autor.type.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:autor.type.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:autor.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:autor.type.coding.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:autor.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:autor.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices para agent.:autor.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: author (extensions allowed)
Provenance.Slices para agent.:autor.type.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices para agent.:autor.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices para agent.:autor.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices para agent.:autor.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.:autor.who This element must be supported. This element is included in summaries. C 1..1 Reference(Organization - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | PractitionerRole - Resultados de Laboratorio) Laboratorio u organización que generó el resultado
Provenance.Slices para agent.:autor.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.Slices para agent.:custodio This element must be supported. This element is included in summaries. C 1..1 BackboneElement Quiénes intervinieron: el sistema y, si actúa uno, el profesional
Constraints: prov-1, prov-2, prov-3
Provenance.Slices para agent.:custodio.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.extension 0..* Extension Additional content defined by implementations
Provenance.Slices para agent.:custodio.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices para agent.:custodio.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Rol: custodio (repositorio FHIR que persiste el resultado)
Vinculación: Tipo de agente de la procedencia (required)
Patrón requerido:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
      "code" : "transmitter"
    }
  ]
}
Provenance.Slices para agent.:custodio.type.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.type.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:custodio.type.coding This element must be supported. This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices para agent.:custodio.type.coding.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.Slices para agent.:custodio.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.Slices para agent.:custodio.type.coding.system This element must be supported. This element is included in summaries. 1..1 uri Identity of the terminology system
Patrón requerido: http://terminology.hl7.org/CodeSystem/provenance-participant-type (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices para agent.:custodio.type.coding.code This element must be supported. This element is included in summaries. C 1..1 code Symbol in syntax defined by the system
Patrón requerido: transmitter (extensions allowed)
Provenance.Slices para agent.:custodio.type.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices para agent.:custodio.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices para agent.:custodio.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices para agent.:custodio.role 0..* CodeableConcept What the agents role was
Vinculación: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.Slices para agent.:custodio.who This element must be supported. This element is included in summaries. C 1..1 Reference(Sistema de información) Sistema que custodia el resultado en el repositorio FHIR
Provenance.Slices para agent.:custodio.onBehalfOf This element must be supported. C 0..1 Reference(Organización) Organización en cuyo nombre actúa
Provenance.entity This element must be supported. This element is included in summaries. 0..* BackboneElement Recurso fuente si el resultado fue transformado o transcrito
Provenance.entity.id No extension or id. 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element must be supported. This element is included in summaries. 1..1 code Rol de la entidad: source | derivation | revision
Vinculación: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element must be supported. This element is included in summaries. 1..1 Reference(Resource) Referencia al recurso original (p. ej. mensaje HL7 v2 o documento fuente)
Provenance.entity.agent 0..* Vea agent (Provenance) Entity is attributed to this agent
Provenance.signature This element must be supported. 1..* Signature Firma digital JAdES de GAUDÍ, detached: cubre la procedencia y las versiones de target
Provenance.signature.id No extension or id. 0..1 id Unique id for inter-element referencing
Provenance.signature.extension 0..* Extension Additional content defined by implementations
Slice: Sin orden, Abierto by value:url
Provenance.signature.type This element must be supported. This element is included in summaries. 1..* Coding Propósito de la firma; confirmar el código aplicable al sello electrónico organizacional
Vinculación: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
Provenance.signature.when This element must be supported. This element is included in summaries. 1..1 instant Momento de la firma
Provenance.signature.who This element must be supported. This element is included in summaries. 1..1 Reference(Rol del profesional | Profesional de salud | Organización) Quien firma: el profesional o la organización propietaria del sistema
Provenance.signature.onBehalfOf This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
Provenance.signature.targetFormat This element must be supported. 1..1 code application/fhir+json (valor fijo)
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/fhir+json (extensions allowed)
Provenance.signature.sigFormat This element must be supported. 1..1 code application/jose+json (valor fijo): JAdES para JSON de GAUDÍ, en serialización JWS JSON
Vinculación: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Patrón requerido: application/jose+json (extensions allowed)
Provenance.signature.data This element must be supported. 1..1 base64Binary Firma JAdES de GAUDÍ sobre el Bundle de trabajo: el JWS en serialización JSON, en base64 con relleno

doco Documentación de este formato

Vinculaciones terminológicas

Ruta Estado Uso Conjunto de valores Versión Fuente Documentación
Provenance.language Base required All Languages 📍5.0.0 Estándar FHIR

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Additional / all Inicial Common Languages 📍5.0.0 Estándar FHIR
Additional / all Inicial Common Languages 📦5.0.0 Estándar FHIR
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5

The authorized purposeOfUse for the activity.

Provenance.activity Base required Actividad de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent.role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.agent:autor.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:autor.​role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.agent:custodio.​type Base required Tipo de agente de la procedencia 📦0.1.0 Guía de Implementación de Terminología de Costa Rica vnull
Provenance.agent:custodio.​role Base example Security Role Type 📍5.0.0 Estándar FHIR

The role that a provenance agent played with respect to the activity.

Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 Estándar FHIR

How an entity was used in an activity.

Provenance.signature.​type Base preferred Signature Type Codes 📍5.0.0 Estándar FHIR

An indication of the reason that an entity signed the object.

Provenance.signature.​targetFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Provenance.signature.​sigFormat Base required Mime Types 📍5.0.0 Estándar FHIR

BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

Restricciones

Id Nivel Ruta(s) Descripción Expresión
cr-documento-fecha-hora error Provenance.occurred[x] La fecha lleva fecha y hora, no solo la fecha. toString().contains('T')
cr-procedencia-amend error Provenance Una corrección (amend) indica la versión anterior (entity con role revision). activity.coding.where(code = 'amend').exists() implies entity.where(role = 'revision').exists()
cr-procedencia-fechas error Provenance La fecha de la actividad no es posterior a la fecha de registro. occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
cr-procedencia-firmante error Provenance Quien firma es uno de los agentes o la organización en cuyo nombre actúa un agente. signature.all(who.reference.empty() or who.reference in (%resource.agent.who.reference | %resource.agent.onBehalfOf.reference))
cr-procedencia-merge error Provenance Una unión (merge) indica el registro unido (entity con role source). activity.coding.where(code = 'merge').exists() implies entity.where(role = 'source').exists()
cr-procedencia-organizacion warning Provenance Un agente que es un profesional o un sistema indica la organización en cuyo nombre actúa (onBehalfOf). agent.where(who.resolve() is PractitionerRole or who.resolve() is Practitioner or who.resolve() is Device or who.type in ('PractitionerRole' | 'Practitioner' | 'Device') or who.reference.contains('PractitionerRole/') or who.reference.contains('Practitioner/') or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).all(onBehalfOf.exists())
cr-procedencia-sistema error Provenance Al menos un agente es un sistema de información (Device, o su identificador del registro de sistemas del HIE). agent.where(who.resolve() is Device or who.type = 'Device' or who.reference.contains('Device/') or who.identifier.system.startsWith('https://hl7.or.cr/fhir/sid/sistema/')).exists()
cr-procedencia-target-version error Provenance Una referencia literal en target nombra la versión del recurso (<Recurso>/<id>/_history/<versión>). target.all(reference.empty() or reference.startsWith('#') or reference.contains('/_history/'))
cr-procedencia-transform error Provenance Una transformación (transform) indica el dato de origen (entity con role source) y el mapa aplicado (policy). activity.coding.where(code = 'transform').exists() implies (entity.where(role = 'source').exists() and policy.exists())
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 buena práctica Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **TODOS** los elementos All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **TODAS** las extensiones Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent, Provenance.agent:autor, Provenance.agent:custodio If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

 

Otras representaciones de perfil: CSV, Excel, Schematron