Digital Health Platform
0.1.0 - Uzbekistan flag

Digital Health Platform, published by Uzinfocom LLC. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/uzinfocom-org/digital-health-ig/ and changes regularly. See the Directory of published versions

Resource Profile: Uzbekistan DHP Provenance ( Experimental )

Official URL: http://medcore.uz/StructureDefinition/dhp-provenance Version: 0.1.0
Active as of 2025-03-13 Computable Name: DHPProvenance

Uzbekistan DHP Provenance Profile, used to digitally sign documents via myID

Usages:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and their representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... Slices for occurred[x] 0..1 When the activity occurred
Slice: Unordered, Open by type:$this
.... occurredPeriod Period
.... occurredDateTime dateTime
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... patient S 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
... agent SΣC 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type SΣ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... who SΣC 1..1 Reference(PractitionerRole) The agent that participated in the event
.... onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
... entity SΣ 0..* BackboneElement An entity used in this activity
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role SΣ 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what SΣ 1..1 Reference(Resource) Identity of entity
... signature S 0..* Signature Signature on target
.... type SΣ 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when SΣ 0..1 instant When the signature was created
.... who SΣ 0..1 Reference(PractitionerRole) Who signed
.... sigFormat S 0..1 code The technical format of the signature
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG
Provenance.signature.sigFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProvenanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProvenanceIf 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-4errorProvenanceIf 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-5errorProvenanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProvenanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorProvenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.activity, Provenance.patient, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.signature, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.sigFormat, Provenance.signature.dataAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorProvenance.modifierExtension, Provenance.agent.modifierExtension, Provenance.entity.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prov-1errorProvenance.agentWho and onBehalfOf cannot be the same
: who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2errorProvenance.agentIf 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-3errorProvenance.agentIf 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()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... target S 1..* Reference(Medication | DocumentReference) Target Reference(s) (usually version specific)
... Slices for occurred[x] 0..1 Period, dateTime When the activity occurred
Slice: Unordered, Open by type:$this
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... agent S 1..* BackboneElement Actor involved
.... type S 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... who S 1..1 Reference(PractitionerRole) The agent that participated in the event
... entity S 0..* BackboneElement An entity used in this activity
.... role S 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what S 1..1 Reference(Resource) Identity of entity
... signature S 0..* Signature Signature on target
.... type S 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when S 0..1 instant When the signature was created
.... who S 0..1 Reference(PractitionerRole) Who signed
.... sigFormat S 0..1 code The technical format of the signature
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... target SΣ 1..* Reference(Medication | DocumentReference) Target Reference(s) (usually version specific)
... Slices for occurred[x] 0..1 When the activity occurred
Slice: Unordered, Open by type:$this
.... occurredPeriod Period
.... occurredDateTime dateTime
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... recorded Σ 0..1 instant When the activity was recorded / updated
... policy 0..* uri Policy or plan the activity was defined by
... location 0..1 Reference(Location) Where the activity occurred, if relevant
... authorization 0..* CodeableReference() Authorization (purposeOfUse) related to the event
Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity.
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
... patient S 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
... encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
... agent SΣC 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type SΣ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
.... who SΣC 1..1 Reference(PractitionerRole) The agent that participated in the event
.... onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
... entity SΣ 0..* BackboneElement An entity used in this activity
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role SΣ 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what SΣ 1..1 Reference(Resource) Identity of entity
.... agent 0..* See agent (Provenance) Entity is attributed to this agent
... signature S 0..* Signature Signature on target
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... type SΣ 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when SΣ 0..1 instant When the signature was created
.... who SΣ 0..1 Reference(PractitionerRole) Who signed
.... onBehalfOf Σ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat 0..1 code The technical format of the signed resources
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... sigFormat S 0..1 code The technical format of the signature
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Provenance.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Provenance.authorizationexamplePurposeOfUse
http://terminology.hl7.org/ValueSet/v3-PurposeOfUse|3.1.0
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.agent.roleexampleSecurityRoleType
http://hl7.org/fhir/ValueSet/security-role-type|5.0.0
From the FHIR Standard
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG
Provenance.signature.targetFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard
Provenance.signature.sigFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProvenanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProvenanceIf 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-4errorProvenanceIf 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-5errorProvenanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProvenanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorProvenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, 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, Provenance.signature.extension, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.onBehalfOf, Provenance.signature.targetFormat, Provenance.signature.sigFormat, Provenance.signature.dataAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorProvenance.extension, Provenance.modifierExtension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.signature.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prov-1errorProvenance.agentWho and onBehalfOf cannot be the same
: who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2errorProvenance.agentIf 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-3errorProvenance.agentIf 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()

Summary

Must-Support: 16 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.occurred[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... Slices for occurred[x] 0..1 When the activity occurred
Slice: Unordered, Open by type:$this
.... occurredPeriod Period
.... occurredDateTime dateTime
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... patient S 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
... agent SΣC 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type SΣ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... who SΣC 1..1 Reference(PractitionerRole) The agent that participated in the event
.... onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
... entity SΣ 0..* BackboneElement An entity used in this activity
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role SΣ 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what SΣ 1..1 Reference(Resource) Identity of entity
... signature S 0..* Signature Signature on target
.... type SΣ 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when SΣ 0..1 instant When the signature was created
.... who SΣ 0..1 Reference(PractitionerRole) Who signed
.... sigFormat S 0..1 code The technical format of the signature
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG
Provenance.signature.sigFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProvenanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProvenanceIf 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-4errorProvenanceIf 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-5errorProvenanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProvenanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorProvenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.activity, Provenance.patient, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.signature, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.sigFormat, Provenance.signature.dataAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorProvenance.modifierExtension, Provenance.agent.modifierExtension, Provenance.entity.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prov-1errorProvenance.agentWho and onBehalfOf cannot be the same
: who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2errorProvenance.agentIf 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-3errorProvenance.agentIf 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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... target S 1..* Reference(Medication | DocumentReference) Target Reference(s) (usually version specific)
... Slices for occurred[x] 0..1 Period, dateTime When the activity occurred
Slice: Unordered, Open by type:$this
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... agent S 1..* BackboneElement Actor involved
.... type S 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... who S 1..1 Reference(PractitionerRole) The agent that participated in the event
... entity S 0..* BackboneElement An entity used in this activity
.... role S 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what S 1..1 Reference(Resource) Identity of entity
... signature S 0..* Signature Signature on target
.... type S 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when S 0..1 instant When the signature was created
.... who S 0..1 Reference(PractitionerRole) Who signed
.... sigFormat S 0..1 code The technical format of the signature
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance(5.0.0) Who, What, When for a set of resources
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... target SΣ 1..* Reference(Medication | DocumentReference) Target Reference(s) (usually version specific)
... Slices for occurred[x] 0..1 When the activity occurred
Slice: Unordered, Open by type:$this
.... occurredPeriod Period
.... occurredDateTime dateTime
.... occurred[x]:occurredDateTime S 0..1 dateTime When the activity occurred
... recorded Σ 0..1 instant When the activity was recorded / updated
... policy 0..* uri Policy or plan the activity was defined by
... location 0..1 Reference(Location) Where the activity occurred, if relevant
... authorization 0..* CodeableReference() Authorization (purposeOfUse) related to the event
Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity.
... activity S 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityTypesVS (0.1.0) (required)
... basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
... patient S 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
... encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
... agent SΣC 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... type SΣ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipationRoleTypeVS (0.1.0) (required)
.... role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
.... who SΣC 1..1 Reference(PractitionerRole) The agent that participated in the event
.... onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
... entity SΣ 0..* BackboneElement An entity used in this activity
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... role SΣ 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRoleVS (0.1.0) (required)
.... what SΣ 1..1 Reference(Resource) Identity of entity
.... agent 0..* See agent (Provenance) Entity is attributed to this agent
... signature S 0..* Signature Signature on target
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... type SΣ 0..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeVS (0.1.0) (required)
.... when SΣ 0..1 instant When the signature was created
.... who SΣ 0..1 Reference(PractitionerRole) Who signed
.... onBehalfOf Σ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat 0..1 code The technical format of the signed resources
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... sigFormat S 0..1 code The technical format of the signature
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
.... data S 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Provenance.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
Provenance.authorizationexamplePurposeOfUse
http://terminology.hl7.org/ValueSet/v3-PurposeOfUse|3.1.0
Provenance.activityrequiredProvenanceActivityTypesVS
https://terminology.medcore.uz/ValueSet/provenance-activity-types-vs|0.1.0
From this IG
Provenance.agent.typerequiredProvenanceParticipationRoleTypeVS
https://terminology.medcore.uz/ValueSet/provenance-participation-role-type-vs|0.1.0
From this IG
Provenance.agent.roleexampleSecurityRoleType
http://hl7.org/fhir/ValueSet/security-role-type|5.0.0
From the FHIR Standard
Provenance.entity.rolerequiredProvenanceEntityRoleVS
https://terminology.medcore.uz/ValueSet/provenance-entity-role-vs|0.1.0
From this IG
Provenance.signature.typerequiredSignatureTypeVS(a valid code from Signature Type)
https://terminology.medcore.uz/ValueSet/signature-type-vs|0.1.0
From this IG
Provenance.signature.targetFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard
Provenance.signature.sigFormatrequiredMimeTypes(a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProvenanceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProvenanceIf 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-4errorProvenanceIf 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-5errorProvenanceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProvenanceA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorProvenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, 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, Provenance.signature.extension, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.onBehalfOf, Provenance.signature.targetFormat, Provenance.signature.sigFormat, Provenance.signature.dataAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorProvenance.extension, Provenance.modifierExtension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.signature.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prov-1errorProvenance.agentWho and onBehalfOf cannot be the same
: who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2errorProvenance.agentIf 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-3errorProvenance.agentIf 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()

Summary

Must-Support: 16 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.occurred[x]

 

Other representations of profile: CSV, Excel, Schematron