description: This profile represents the constraints applied to the DeviceUseStatement resource for the purpose of this guide. The use of a device by the patient, or the presence of an implanted device, is described in the hospital discharge report as an instance of a DeviceUseStatement resource constrained by this profile. package_name: hl7.fhir.eu.hdr derivation: constraint name: DeviceUseStatementEuHdr type: DeviceUseStatement elements: timingPeriod: type: Period choiceOf: timing index: 9 slicing: slices: timingPeriod: match: {} schema: {type: Period, choiceOf: timing, index: 9} min: 0 max: 1 reasonCode: {index: 13} source: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 11 note: {index: 21} status: {index: 3} language: {index: 0} timing: choices: [] index: 6 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: timingPeriod: match: {} schema: choices: [timingPeriod] index: 8 min: 0 max: 1 recordedOn: {index: 10} identifier: {index: 2} bodySite: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'} constraint: dus-hdr-1: {human: 'Either a body site code or a reference to a BodyStructure resource SHALL be used, but not both.', source: 'http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr', severity: error, expression: '(coding.empty() and text.empty()) or extension(''http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite'').empty()'} index: 15 extensions: bodySite: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite type: Extension short: Body site, when laterality or qualifiers cannot be pre-coordinated in bodySite index: 16 extensions: {} elements: extension: {index: 17} value: choices: [valueReference] index: 19 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core'] index: 20 elements: extension: type: Extension short: Body site, when laterality or qualifiers cannot be pre-coordinated in bodySite url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite index: 16 slicing: slices: bodySite: match: {} schema: type: Extension short: Body site, when laterality or qualifiers cannot be pre-coordinated in bodySite url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceUsage.bodySite index: 16 extensions: {} elements: extension: {index: 17} value: choices: [valueReference] index: 19 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core'] index: 20 device: type: Reference refers: ['http://hl7.eu/fhir/hdr/StructureDefinition/device-eu-hdr'] index: 12 subject: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core'] index: 4 reasonReference: {index: 14} text: {short: Device usage description, index: 1} package_version: 1.0.0 class: profile kind: resource url: http://hl7.eu/fhir/hdr/StructureDefinition/deviceUseStatement-eu-hdr base: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement version: 1.0.0