Extensions for Using Data Elements from FHIR R4 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-DeviceUseStatement-for-DeviceUsage | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4_DeviceUseStatement_R5_DeviceUsage | ||
This cross-version profile allows R4 DeviceUseStatement content to be represented via FHIR R5 DeviceUsage resources.
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..* | DeviceUsage(5.0.0) | Record of use of a device | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | active | completed | not-done | entered-in-error + Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage. |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient using device |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | R4: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 1..1 | CodeableReference(Device | DeviceDefinition) | Code or Reference to device used |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUsage.status | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DeviceUsage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUsage | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DeviceUsage | 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 | DeviceUsage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUsage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | DeviceUsage.implicitRules, DeviceUsage.modifierExtension, DeviceUsage.status, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.device | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | DeviceUsage.modifierExtension, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUsage
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUsage(5.0.0) | Record of use of a device | |||||
![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for 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 | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier for this record | ||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | Fulfills plan, proposal or order | ||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | not-done | entered-in-error + Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage. | ||||
![]() ![]() |
0..* | CodeableConcept | The category of the statement - classifying how the statement is made | |||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient using device | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | R4: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) | Supporting information | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | The encounter or episode of care that establishes the context for this device use statement | ||||
![]() ![]() |
Σ | 0..1 | How often the device was used | |||||
![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was made (and recorded) | ||||
![]() ![]() |
0..1 | CodeableConcept | The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement Binding: DeviceUsageStatus (required): Codes representing the usage status of the device. | |||||
![]() ![]() |
0..* | CodeableConcept | The reason for asserting the usage status - for example forgot, lost, stolen, broken | |||||
![]() ![]() |
0..1 | BackboneElement | How device is being used | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | always | never | sometimes Binding: DeviceUsageAdherenceCode (example): Codes for adherence | |||||
![]() ![]() ![]() |
1..* | CodeableConcept | lost | stolen | prescribed | broken | burned | forgot Binding: DeviceUsageAdherenceReason (example): Codes for adherence reason | |||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Who made the statement | ||||
![]() ![]() |
Σ | 1..1 | CodeableReference(Device | DeviceDefinition) | Code or Reference to device used | ||||
![]() ![]() |
Σ | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Procedure) | Why device was used | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4.Observation for use in FHIR R5(0.1.0) | Observation | Cross-version Profile for R4.DiagnosticReport for use in FHIR R5(0.1.0) | DiagnosticReport | Cross-version Profile for R4.DocumentReference for use in FHIR R5(0.1.0) | DocumentReference | Cross-version Profile for R4.Media for use in FHIR R5(0.1.0) | DocumentReference) | R4: Why was DeviceUseStatement performed? additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-DeviceUseStatement.reasonReference Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
Σ | 0..1 | CodeableReference(BodyStructure) | Target body site Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||
![]() ![]() |
0..* | Annotation | Addition details (comments, instructions) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUsage.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| DeviceUsage.status | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| DeviceUsage.patient.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| DeviceUsage.usageStatus | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| DeviceUsage.adherence.code | Base | example | Device Usage Adherence Code | 📍5.0.0 | FHIR Std. |
| DeviceUsage.adherence.reason | Base | example | Device Usage Adherence Reason | 📍5.0.0 | FHIR Std. |
| DeviceUsage.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DeviceUsage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUsage | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DeviceUsage | 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 | DeviceUsage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUsage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | DeviceUsage.meta, DeviceUsage.implicitRules, DeviceUsage.language, DeviceUsage.text, DeviceUsage.extension, DeviceUsage.modifierExtension, DeviceUsage.identifier, DeviceUsage.basedOn, DeviceUsage.status, DeviceUsage.category, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.patient.type, DeviceUsage.patient.identifier, DeviceUsage.patient.display, DeviceUsage.derivedFrom, DeviceUsage.context, DeviceUsage.timing[x], DeviceUsage.dateAsserted, DeviceUsage.usageStatus, DeviceUsage.usageReason, DeviceUsage.adherence, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.adherence.code, DeviceUsage.adherence.reason, DeviceUsage.informationSource, DeviceUsage.device, DeviceUsage.reason, DeviceUsage.reason.extension, DeviceUsage.reason.extension:reasonReference, DeviceUsage.reason.concept, DeviceUsage.reason.reference, DeviceUsage.bodySite, DeviceUsage.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | DeviceUsage.extension, DeviceUsage.modifierExtension, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.reason.extension, DeviceUsage.reason.extension:reasonReference | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUsage
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DeviceUsage(5.0.0) | Record of use of a device | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | active | completed | not-done | entered-in-error + Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage. |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient using device |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | R4: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 1..1 | CodeableReference(Device | DeviceDefinition) | Code or Reference to device used |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUsage.status | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DeviceUsage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUsage | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DeviceUsage | 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 | DeviceUsage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUsage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | DeviceUsage.implicitRules, DeviceUsage.modifierExtension, DeviceUsage.status, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.device | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | DeviceUsage.modifierExtension, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from DeviceUsage
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DeviceUsage(5.0.0) | Record of use of a device | |||||
![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for 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 | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier for this record | ||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest) | Fulfills plan, proposal or order | ||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | not-done | entered-in-error + Binding: DeviceUsageStatus (required): A coded concept indicating the current status of the Device Usage. | ||||
![]() ![]() |
0..* | CodeableConcept | The category of the statement - classifying how the statement is made | |||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient using device | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | R4: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference) | Supporting information | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | The encounter or episode of care that establishes the context for this device use statement | ||||
![]() ![]() |
Σ | 0..1 | How often the device was used | |||||
![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was made (and recorded) | ||||
![]() ![]() |
0..1 | CodeableConcept | The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement Binding: DeviceUsageStatus (required): Codes representing the usage status of the device. | |||||
![]() ![]() |
0..* | CodeableConcept | The reason for asserting the usage status - for example forgot, lost, stolen, broken | |||||
![]() ![]() |
0..1 | BackboneElement | How device is being used | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | always | never | sometimes Binding: DeviceUsageAdherenceCode (example): Codes for adherence | |||||
![]() ![]() ![]() |
1..* | CodeableConcept | lost | stolen | prescribed | broken | burned | forgot Binding: DeviceUsageAdherenceReason (example): Codes for adherence reason | |||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Who made the statement | ||||
![]() ![]() |
Σ | 1..1 | CodeableReference(Device | DeviceDefinition) | Code or Reference to device used | ||||
![]() ![]() |
Σ | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | Procedure) | Why device was used | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4.Observation for use in FHIR R5(0.1.0) | Observation | Cross-version Profile for R4.DiagnosticReport for use in FHIR R5(0.1.0) | DiagnosticReport | Cross-version Profile for R4.DocumentReference for use in FHIR R5(0.1.0) | DocumentReference | Cross-version Profile for R4.Media for use in FHIR R5(0.1.0) | DocumentReference) | R4: Why was DeviceUseStatement performed? additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-DeviceUseStatement.reasonReference Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference() | Reference to a resource (by instance) | ||||
![]() ![]() |
Σ | 0..1 | CodeableReference(BodyStructure) | Target body site Binding: SNOMEDCTBodyStructures (example): SNOMED CT Body site concepts | ||||
![]() ![]() |
0..* | Annotation | Addition details (comments, instructions) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DeviceUsage.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| DeviceUsage.status | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| DeviceUsage.patient.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| DeviceUsage.usageStatus | Base | required | Device Usage Status | 📍5.0.0 | FHIR Std. |
| DeviceUsage.adherence.code | Base | example | Device Usage Adherence Code | 📍5.0.0 | FHIR Std. |
| DeviceUsage.adherence.reason | Base | example | Device Usage Adherence Reason | 📍5.0.0 | FHIR Std. |
| DeviceUsage.bodySite | Base | example | SNOMED CT Body Structures | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DeviceUsage | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DeviceUsage | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DeviceUsage | 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 | DeviceUsage | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DeviceUsage | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | DeviceUsage.meta, DeviceUsage.implicitRules, DeviceUsage.language, DeviceUsage.text, DeviceUsage.extension, DeviceUsage.modifierExtension, DeviceUsage.identifier, DeviceUsage.basedOn, DeviceUsage.status, DeviceUsage.category, DeviceUsage.patient, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.patient.reference, DeviceUsage.patient.type, DeviceUsage.patient.identifier, DeviceUsage.patient.display, DeviceUsage.derivedFrom, DeviceUsage.context, DeviceUsage.timing[x], DeviceUsage.dateAsserted, DeviceUsage.usageStatus, DeviceUsage.usageReason, DeviceUsage.adherence, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.adherence.code, DeviceUsage.adherence.reason, DeviceUsage.informationSource, DeviceUsage.device, DeviceUsage.reason, DeviceUsage.reason.extension, DeviceUsage.reason.extension:reasonReference, DeviceUsage.reason.concept, DeviceUsage.reason.reference, DeviceUsage.bodySite, DeviceUsage.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | DeviceUsage.extension, DeviceUsage.modifierExtension, DeviceUsage.patient.extension, DeviceUsage.patient.extension:subject, DeviceUsage.adherence.extension, DeviceUsage.adherence.modifierExtension, DeviceUsage.reason.extension, DeviceUsage.reason.extension:reasonReference | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from DeviceUsage
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron