Union of http://hl7.org/fhir/uv/ehrs-rle/StructureDefinition/ehrsrle-provenance and http://hl7.org/fhir/uv/ehrs-rle/StructureDefinition/ehrsrle-provenance

This is the set of resources that conform to either of the profiles EHRS Functional Model - Record Lifecycle Events - Provenance (http://hl7.org/fhir/uv/ehrs-rle/StructureDefinition/ehrsrle-provenance) and EHRS Functional Model - Record Lifecycle Events - Provenance (http://hl7.org/fhir/uv/ehrs-rle/StructureDefinition/ehrsrle-provenance). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. 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..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (required): IETF language tag for a human language


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional 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..*ExtensionExtensions 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 SΣ1..*Reference(Resource)Target Reference(s) (usually version specific)
ele-1: All FHIR elements must have a @value or children
... occurred[x] S0..1When the activity occurred
ele-1: All FHIR elements must have a @value or children
.... occurredPeriodPeriod
.... occurredDateTimedateTime
... recorded SΣ0..1instantWhen the activity was recorded / updated
ele-1: All FHIR elements must have a @value or children
... policy S0..*uriPolicy or plan the activity was defined by
ele-1: All FHIR elements must have a @value or children
... location S0..1Reference(Location)Where the activity occurred, if relevant
ele-1: All FHIR elements must have a @value or children
... authorization 0..*CodeableReference()Authorization (purposeOfUse) related to the event
Binding: ?? (example): The authorized purposeOfUse for the activity.


ele-1: All FHIR elements must have a @value or children
... activity S0..1CodeableConceptActivity that occurred
Binding: ?? (example): The activity that took place.


ele-1: All FHIR elements must have a @value or children
... basedOn 0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task)Workflow authorization within which this event occurred
ele-1: All FHIR elements must have a @value or children
... patient 0..1Reference(Patient)The patient is the subject of the data created/updated (.target) by the activity
ele-1: All FHIR elements must have a @value or children
... encounter 0..1Reference(Encounter)Encounter within which this event occurred or which the event is tightly associated
ele-1: All FHIR elements must have a @value or children
... agent SΣC1..*BackboneElementActor involved
ele-1: All FHIR elements must have a @value or children
prov-1: Who and onBehalfOf cannot be the same
prov-2: If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner
prov-3: If who is an organization, onBehalfOf can't be a PractitionerRole within that organization
.... extension 0..*ExtensionAdditional 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..*ExtensionExtensions 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..1CodeableConceptHow the agent participated
Binding: ?? (example): 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..*CodeableConceptWhat 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 SΣ1..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson)The agent that participated in the event
ele-1: All FHIR elements must have a @value or children
.... onBehalfOf S0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient)The agent that delegated
ele-1: All FHIR elements must have a @value or children
... entity Σ0..*BackboneElementAn entity used in this activity
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional 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..*ExtensionExtensions 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..1coderevision | quotation | source | instantiates | removal
Binding: ?? (required): How an entity was used in an activity.


ele-1: All FHIR elements must have a @value or children
.... what Σ1..1Reference(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 S0..*SignatureSignature on target
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format