## Union of https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-provenance and https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-provenance

This is the set of resources that conform to either of the profiles FI Base Provenance (https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-provenance) and FI Base Provenance (https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-provenance). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Provenance |  | 0..* |  | Who, What, When for a set of resources dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
target | Σ | 1..* | Reference(Resource) | Target Reference(s) (usually version specific) ele-1: All FHIR elements must have a @value or children
occurred[x] |  | 0..1 |  | When the activity occurred ele-1: All FHIR elements must have a @value or children
occurredPeriod |  |  | Period |
occurredDateTime |  |  | dateTime |
recorded | Σ | 1..1 | instant | When the activity was recorded / updated ele-1: All FHIR elements must have a @value or children
policy |  | 0..* | uri | Policy or plan the activity was defined by ele-1: All FHIR elements must have a @value or children
location |  | 0..1 | Reference(FI Base Location | #sd-fi-base-location-fi-base-location) | Where the activity occurred, if relevant ele-1: All FHIR elements must have a @value or children
reason |  | 0..* | CodeableConcept | Reason the activity is occurring Binding: ?? (extensible): The reason the activity took place. ele-1: All FHIR elements must have a @value or children
activity |  | 0..1 | CodeableConcept | Activity that occurred Binding: ?? (extensible): The activity that took place. ele-1: All FHIR elements must have a @value or children
agent |  | 1..* | BackboneElement | Actor involved ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type | Σ | 0..1 | CodeableConcept | How the agent participated Binding: ?? (extensible): The type of participation that a provenance agent played with respect to the activity. ele-1: All FHIR elements must have a @value or children
role |  | 0..* | CodeableConcept | What the agents role was Binding: ?? (example): The role that a provenance agent played with respect to the activity. ele-1: All FHIR elements must have a @value or children
who | Σ | 1..1 | Reference(FI Base Practitioner | FI Base PractitionerRole | FI Base Patient | RelatedPerson | Device | FI Base Organization | #sd-fi-base-practitioner-fi-base-practitioner) | Who participated ele-1: All FHIR elements must have a @value or children
onBehalfOf |  | 0..1 | Reference(FI Base Practitioner | FI Base PractitionerRole | FI Base Patient | RelatedPerson | Device | FI Base Organization | #sd-fi-base-practitioner-fi-base-practitioner) | Who the agent is representing ele-1: All FHIR elements must have a @value or children
entity |  | 0..* | BackboneElement | An entity used in this activity ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
role | Σ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ?? (required): How an entity was used in an activity. ele-1: All FHIR elements must have a @value or children
what | Σ | 1..1 | Reference(Resource) | Identity of entity ele-1: All FHIR elements must have a @value or children
agent |  | 0..* |  | Entity is attributed to this agent ele-1: All FHIR elements must have a @value or children
signature |  | 0..* | Signature | Signature on target ele-1: All FHIR elements must have a @value or children
Documentation for this format