Extensions for Using Data Elements from FHIR R5 in FHIR R4B - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-InventoryReport | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_InventoryReport_R4B | ||
This cross-version profile allows R5 InventoryReport content to be represented via FHIR R4B Basic resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.3.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.3.0 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.3.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| dom-r4b | warning | Basic.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems |
($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 4 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic(4.3.0) | Resource for non-supported content | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: addition | subtraction (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationType Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: The reason for this count - regular count, ad-hoc count, new arrivals, etc (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationTypeReason Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | dateTime | R5: When the report has been submitted (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportedDateTime Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.Practitioner for use in FHIR R4B(0.1.0) | Practitioner | Cross-version Profile for R5.Patient for use in FHIR R4B(0.1.0) | Patient | Cross-version Profile for R5.RelatedPerson for use in FHIR R4B(0.1.0) | RelatedPerson | Cross-version Profile for R5.Device for use in FHIR R4B(0.1.0) | Device) | R5: Who submits the report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reporter Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Period | R5: The period the report refers to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportingPeriod Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | R5: An inventory listing section (grouped by any of the attributes) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.inventoryListing Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | Annotation | R5: A note associated with the InventoryReport (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.note Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 |
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | requested | active | entered-in-error (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.status Binding: R5InventoryreportStatusForR4B (0.1.0) (required): The status of the InventoryReport. Constraints: ext-1 |
![]() ![]() ![]() |
?! | 1..1 | code | R5: snapshot | difference (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.countType Binding: R5InventoryreportCounttypeForR4B (0.1.0) (required): The type of count. Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): HL7-maintained set of codes for "Basic" resources |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.3.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic(4.3.0) | Resource for non-supported content | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: addition | subtraction (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationType | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: The reason for this count - regular count, ad-hoc count, new arrivals, etc (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationTypeReason | |
![]() ![]() ![]() |
1..1 | dateTime | R5: When the report has been submitted (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportedDateTime | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.Practitioner for use in FHIR R4B(0.1.0) | Practitioner | Cross-version Profile for R5.Patient for use in FHIR R4B(0.1.0) | Patient | Cross-version Profile for R5.RelatedPerson for use in FHIR R4B(0.1.0) | RelatedPerson | Cross-version Profile for R5.Device for use in FHIR R4B(0.1.0) | Device) | R5: Who submits the report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reporter | |
![]() ![]() ![]() |
0..1 | Period | R5: The period the report refers to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportingPeriod | |
![]() ![]() ![]() |
0..* | (Complex) | R5: An inventory listing section (grouped by any of the attributes) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.inventoryListing | |
![]() ![]() ![]() |
0..* | Annotation | R5: A note associated with the InventoryReport (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.note | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
1..1 | code | R5: draft | requested | active | entered-in-error (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.status Binding: R5InventoryreportStatusForR4B (0.1.0) (required): The status of the InventoryReport. | |
![]() ![]() ![]() |
1..1 | code | R5: snapshot | difference (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.countType Binding: R5InventoryreportCounttypeForR4B (0.1.0) (required): The type of count. | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic(4.3.0) | Resource for non-supported content | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() |
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 Constraints: dom-r4b | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: addition | subtraction (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationType Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: The reason for this count - regular count, ad-hoc count, new arrivals, etc (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.operationTypeReason Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | dateTime | R5: When the report has been submitted (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportedDateTime Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.Practitioner for use in FHIR R4B(0.1.0) | Practitioner | Cross-version Profile for R5.Patient for use in FHIR R4B(0.1.0) | Patient | Cross-version Profile for R5.RelatedPerson for use in FHIR R4B(0.1.0) | RelatedPerson | Cross-version Profile for R5.Device for use in FHIR R4B(0.1.0) | Device) | R5: Who submits the report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reporter Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Period | R5: The period the report refers to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.reportingPeriod Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: An inventory listing section (grouped by any of the attributes) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.inventoryListing Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Annotation | R5: A note associated with the InventoryReport (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.note Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | requested | active | entered-in-error (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.status Binding: R5InventoryreportStatusForR4B (0.1.0) (required): The status of the InventoryReport. Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: snapshot | difference (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-InventoryReport.countType Binding: R5InventoryreportCounttypeForR4B (0.1.0) (required): The type of count. Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): HL7-maintained set of codes for "Basic" resources | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Identifies the focus of this resource | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred | Common Languages | 📍4.3.0 | FHIR Std. |
| Basic.code | Base | example | Basic Resource Types | 📍4.3.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| dom-r4b | warning | Basic.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems |
($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:operationType, Basic.extension:operationTypeReason, Basic.extension:reportedDateTime, Basic.extension:reporter, Basic.extension:reportingPeriod, Basic.extension:inventoryListing, Basic.extension:note, Basic.modifierExtension, Basic.modifierExtension:status, Basic.modifierExtension:countType | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 4 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron