Union of http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-provenance and http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-provenance

This is the set of resources that conform to either of the profiles HRex Provenance Profile (http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-provenance) and HRex Provenance Profile (http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-provenance). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Provenance 0..*US Core Provenance
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: ?? (preferred): 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)left: (USCDI) The Resource this Provenance record supports; right: The Resource this Provenance record supports
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
.... reference SΣ1..1stringleft: (USCDI) Literal reference, Relative, internal or absolute URL; right: Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
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Σ1..1instantleft: (USCDI) Timestamp when the activity was recorded / updated; right: Timestamp when the activity was recorded / updated
ele-1: All FHIR elements must have a @value or children
... policy 0..*uriPolicy or plan the activity was defined by
ele-1: All FHIR elements must have a @value or children
... location 0..1Reference(Location)Where the activity occurred, if relevant
ele-1: All FHIR elements must have a @value or children
... reason 0..*CodeableConceptReason 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..1CodeableConceptActivity that occurred
Binding: ?? (extensible): The activity that took place.


ele-1: All FHIR elements must have a @value or children
... agent SC1..*BackboneElementleft: (USCDI) Actor involved; right: Actor involved
ele-1: All FHIR elements must have a @value or children
provenance-1: onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device
.... 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 SΣ0..1CodeableConceptleft: (USCDI) How the agent participated; right: How the agent participated
Binding: ?? (extensible)
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(US Core Organization Profile(6.1.0) S | US Core Practitioner Profile(6.1.0) | US Core Patient Profile(6.1.0) | US Core PractitionerRole Profile(6.1.0) | US Core RelatedPerson Profile | Device | #sd-us-core-organization-us-core-organization)left: (USCDI) Who participated; right: Who participated
ele-1: All FHIR elements must have a @value or children
.... onBehalfOf S0..1Reference(US Core Organization Profile(6.1.0) | #sd-us-core-organization-us-core-organization)left: (USCDI) Who the agent is representing; right: Who the agent is representing
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..1codederivation | 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..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