ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: MedicationListProvenance | |||
Lääkityslistan palautuksessa käytettävä MedicationListProvenance-profiili. Source
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 | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent" | |
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Service event namespace Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Service event identifier Example General: 123456 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationDispense (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.extension:serviceEvent.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationDispense.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetDiscontinuationMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Provenance
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Fixed Value: MedicationDispense (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() |
0..0 | When the activity occurred | ||
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |
![]() ![]() |
0..0 | Policy or plan the activity was defined by | ||
![]() ![]() |
0..0 | Where the activity occurred, if relevant | ||
![]() ![]() |
0..0 | Reason the activity is occurring | ||
![]() ![]() |
0..0 | Activity that occurred | ||
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |
![]() ![]() |
0..0 | An entity used in this activity | ||
![]() ![]() |
0..0 | Signature on target | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | 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 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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 | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent" | |||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Service event namespace Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Service event identifier Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationDispense (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |||||
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Provenance.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Provenance.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Provenance.extension:serviceEvent.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Provenance.extension:serviceEvent.value[x].type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Provenance.target.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationDispense.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetDiscontinuationMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | FHIR Std. |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Provenance
Summary
Mandatory: 0 element(11 nested mandatory elements)
Fixed: 8 elements
Prohibited: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent" | |
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Service event namespace Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Service event identifier Example General: 123456 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationDispense (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.extension:serviceEvent.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationDispense.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetDiscontinuationMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Provenance
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Fixed Value: MedicationDispense (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |
![]() ![]() ![]() ![]() |
1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | |
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Fixed Value: MedicationRequest (no extensions allowed) | |
![]() ![]() |
0..0 | When the activity occurred | ||
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |
![]() ![]() |
0..0 | Policy or plan the activity was defined by | ||
![]() ![]() |
0..0 | Where the activity occurred, if relevant | ||
![]() ![]() |
0..0 | Reason the activity is occurring | ||
![]() ![]() |
0..0 | Activity that occurred | ||
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |
![]() ![]() |
0..0 | An entity used in this activity | ||
![]() ![]() |
0..0 | Signature on target | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | 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 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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 | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Service event identifier URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent" | |||||
![]() ![]() ![]() ![]() |
1..1 | Identifier | Service event identifier | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Service event namespace Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Service event identifier Example General: 123456 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Reference(Resource) | Viittaus resurssi-instanssiin, johon Provenance liittyy Slice: Unordered, Open by value:reference Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Viittaus profiiliin, johon provenancen tiedot liittyvät | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationRequest) {r} | Viittaus lääkemääräykseen | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListMedicationDispense) {r} | Viittaus lääkemääräyksen toimitukseen | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListMedicationDispense profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationDispense (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationDispense Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationDispense (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
0..1 | Reference(MedicationListDiscontinuationMedicationRequest) {r} | Viittaus lääkkeen lopettamismerkintään | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | MedicationListDiscontinuationMedicationRequest profiilin URL Fixed Value: http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListDiscontinuationMedicationRequest (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | MedicationRequest Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: MedicationRequest (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
1..1 | instant | Asiakirjan luontiajankohta | |||||
![]() ![]() |
1..* | BackboneElement | Lääkemääräyksen käsittelijän rooli | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Lääkemääräyksen käsittelijän rooli Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | eArkisto - tekninen CDA R2 henkilötarkennin koodiston OID Fixed Value: urn:oid:1.2.246.537.5.40006.2003 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | eArkisto - tekninen CDA R2 henkilötarkennin koodiston arvo | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
1..1 | Reference(MedicationListPractitionerRole) {c} | Viittaus PractitionerRoleen | |||||
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Provenance.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Provenance.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Provenance.extension:serviceEvent.value[x].use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Provenance.extension:serviceEvent.value[x].type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Provenance.target.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetMedicationDispense.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.target:TargetDiscontinuationMedicationRequest.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Provenance.agent.type | Base | extensible | Provenance participant type | 📍4.0.1 | FHIR Std. |
| Provenance.agent.role | Base | example | SecurityRoleType | 📍4.0.1 | FHIR Std. |
| Provenance.entity.role | Base | required | ProvenanceEntityRole | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Provenance
Summary
Mandatory: 0 element(11 nested mandatory elements)
Fixed: 8 elements
Prohibited: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron