description: Proposed constraints on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory and other results package_name: hl7.fhir.ca.baseline derivation: constraint name: DiagnosticReportProfile type: DiagnosticReport elements: category: type: CodeableConcept mustSupport: true array: true min: 1 index: 0 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: LabResult: match: {} schema: type: CodeableConcept _required: true index: 1 elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0074'} index: 2 required: [system] conclusionCode: type: CodeableConcept short: CHI identification of the condition, problem or diagnosis binding: {strength: example, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/healthconcerncode'} index: 24 encounter: type: Reference refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-encounter'] index: 11 specimen: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Specimen'] index: 18 slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: LabResult: match: {} schema: {array: true, min: 1, _required: true, index: 19} min: 1 '@default': match: {} schema: {array: true, index: 20} min: 0 effectiveDateTime: {short: Time of the report or note, type: dateTime, mustSupport: true, choiceOf: effective, index: 14} resultsInterpreter: type: Reference refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitionerrole'] index: 17 result: mustSupport: true index: 21 slicing: rules: open discriminator: - {path: $this, type: profile} min: null slices: LabResult: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-observation-results'] array: true min: 1 _required: true index: 22 min: 1 '@default': match: {} schema: refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-observation'] type: Reference mustSupport: true array: true index: 23 min: 0 effective: short: Time of the report or note mustSupport: true choices: [effectiveDateTime, effectivePeriod] index: 13 code: type: CodeableConcept mustSupport: true index: 3 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 max: 1 slices: LabResult: match: {} schema: type: CodeableConcept index: 4 elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 5 code: pattern: {type: Code, value: 11502-2} index: 6 required: [system, code] '@default': match: {} schema: type: CodeableConcept index: 7 elements: coding: elements: system: {index: 8} code: {index: 9} required: [system, code] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-device', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient'] index: 10 performer: type: Reference refers: ['http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner', 'http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitionerrole'] index: 16 effectivePeriod: {short: Time of the report or note, type: Period, mustSupport: true, choiceOf: effective, index: 15} package_version: 1.1.6-pre class: profile kind: resource url: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-diagnosticreport base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport version: 0.5.0 required: [effectiveDateTime, effectivePeriod, category, code, effective]