HL7 FHIR Costa Rica - Core
0.0.1-ballot - ci-build
HL7 FHIR Costa Rica - Core, published by Iniciativa HL7 Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.0.1-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cr/core/ and changes regularly. See the Directory of published versions
| Official URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-provenance | Version: 0.0.1-ballot | |||
| Standards status: Draft | Maturity Level: 0 | Computable Name: CRCoreProvenance | ||
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional. |
||||
Perfil Provenance para registrar la procedencia de recursos clínicos y administrativos, incluyendo metadatos específicos de auditoría y trazabilidad.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. |
![]() ![]() ![]() |
SΣC | 0..1 | string | Referencia al recurso objetivo. |
![]() ![]() |
SΣ | 1..1 | instant | Fecha y hora en que se registró la procedencia. |
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. |
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. |
![]() ![]() |
SΣC | 1..* | BackboneElement | Agentes involucrados en la procedencia. Constraints: prov-1, prov-2, prov-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. |
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated |
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Provenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.target.reference, Provenance.recorded, Provenance.location, Provenance.activity, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.signature | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.modifierExtension, Provenance.agent.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | 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 | 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()
|
This structure is derived from Provenance
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
S | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. |
![]() ![]() ![]() |
S | 0..1 | string | Referencia al recurso objetivo. |
![]() ![]() |
S | 1..1 | instant | Fecha y hora en que se registró la procedencia. |
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. |
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. |
![]() ![]() |
S | 1..* | BackboneElement | Agentes involucrados en la procedencia. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. |
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Referencia al recurso objetivo. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | When the activity occurred | ||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
SΣ | 1..1 | instant | Fecha y hora en que se registró la procedencia. | ||||
![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. | ||||
![]() ![]() |
0..* | CodeableReference() | Authorization (purposeOfUse) related to the event Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity. | |||||
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
![]() ![]() |
0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
![]() ![]() |
SΣC | 1..* | BackboneElement | Agentes involucrados en la procedencia. Constraints: prov-1, prov-2, prov-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Identity of entity | ||||
![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Provenance.target.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| Provenance.authorization | Base | example | PurposeOfUse | 📍3.1.0 | THO v7.0 |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Provenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.target.extension, Provenance.target.reference, Provenance.target.type, Provenance.target.identifier, Provenance.target.display, Provenance.occurred[x], Provenance.recorded, Provenance.policy, Provenance.location, Provenance.authorization, Provenance.activity, Provenance.basedOn, Provenance.patient, Provenance.encounter, Provenance.agent, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.entity.agent, Provenance.signature | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.extension, Provenance.modifierExtension, Provenance.target.extension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | 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 | 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()
|
This structure is derived from Provenance
Summary
Mandatory: 2 elements
Must-Support: 10 elements
Structures
This structure refers to these other structures:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. |
![]() ![]() ![]() |
SΣC | 0..1 | string | Referencia al recurso objetivo. |
![]() ![]() |
SΣ | 1..1 | instant | Fecha y hora en que se registró la procedencia. |
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. |
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. |
![]() ![]() |
SΣC | 1..* | BackboneElement | Agentes involucrados en la procedencia. Constraints: prov-1, prov-2, prov-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. |
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated |
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Provenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.target.reference, Provenance.recorded, Provenance.location, Provenance.activity, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.signature | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.modifierExtension, Provenance.agent.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | 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 | 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()
|
Differential View
This structure is derived from Provenance
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
S | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. |
![]() ![]() ![]() |
S | 0..1 | string | Referencia al recurso objetivo. |
![]() ![]() |
S | 1..1 | instant | Fecha y hora en que se registró la procedencia. |
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. |
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. |
![]() ![]() |
S | 1..* | BackboneElement | Agentes involucrados en la procedencia. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. |
![]() ![]() ![]() |
S | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. |
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Reference(Resource) | Recursos objetivo de la procedencia. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Referencia al recurso objetivo. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | When the activity occurred | ||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
SΣ | 1..1 | instant | Fecha y hora en que se registró la procedencia. | ||||
![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() |
S | 0..1 | Reference(Ubicación(0.0.1-ballot)) | Ubicación asociada a la procedencia. | ||||
![]() ![]() |
0..* | CodeableReference() | Authorization (purposeOfUse) related to the event Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity. | |||||
![]() ![]() |
S | 0..1 | CodeableConcept | Actividad que generó la procedencia. Binding: ProvenanceActivityType (extensible): ValueSet de actividades de procedencia definidas en FHIR. | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
![]() ![]() |
0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
![]() ![]() |
SΣC | 1..* | BackboneElement | Agentes involucrados en la procedencia. Constraints: prov-1, prov-2, prov-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Tipo de agente. Binding: ParticipationRoleType (required): ValueSet de tipos de agentes de procedencia definidos en FHIR. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Rol del agente en la procedencia. Binding: SecurityRoleType (extensible): ValueSet de roles de agentes de procedencia definidos en FHIR. | ||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(Profesional de la Salud(0.0.1-ballot) | Organización(0.0.1-ballot) | Paciente(0.0.1-ballot) | Device | CareTeam | RelatedPerson | PractitionerRole) | Referencia al agente. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRole (required): How an entity was used in an activity. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | Identity of entity | ||||
![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Firma digital de la procedencia. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Provenance.target.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| Provenance.authorization | Base | example | PurposeOfUse | 📍3.1.0 | THO v7.0 |
| Provenance.activity | Base | extensible | ValueSet of sample of representative activity type codes. | 📍5.0.0 | FHIR Std. |
| Provenance.agent.type | Base | required | Participation Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.agent.role | Base | extensible | Security Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 | best practice | Provenance | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Provenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.target.extension, Provenance.target.reference, Provenance.target.type, Provenance.target.identifier, Provenance.target.display, Provenance.occurred[x], Provenance.recorded, Provenance.policy, Provenance.location, Provenance.authorization, Provenance.activity, Provenance.basedOn, Provenance.patient, Provenance.encounter, Provenance.agent, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.entity.agent, Provenance.signature | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.extension, Provenance.modifierExtension, Provenance.target.extension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | 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 | 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()
|
This structure is derived from Provenance
Summary
Mandatory: 2 elements
Must-Support: 10 elements
Structures
This structure refers to these other structures:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron