OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: OpenMRS Diagnostic Report

Defining URL:http://fhir.openmrs.org/fhir/StructureDefinition/OpenMRS-diagnostic-report
Version:0.1.0
Name:OpenMRSDiagnosticReport
Title:OpenMRS Diagnostic Report
Status:Active as of 2022-11-29 05:06:49+0000
Definition:

DiagnosticReport resource created by a OpenMRS that representing results of diagnostic tests that are performed in a given clinical context.

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://fhir.openmrs.org/fhir/StructureDefinition/OpenMRS-diagnostic-report

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from DiagnosticReport

Summary

Mandatory: 1 element
Prohibited: 7 elements

Structures

This structure refers to these other structures:

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id 0..1idLogical id of this artifact
... status 1..1coderegistered | partial | preliminary | final +
... code 1..1CodeableConceptName/Code for this diagnostic report
.... coding 1..*CodingCode defined by a terminology system
Binding: OpenMRS Order Code (required)
... effectiveDateTime 0..1dateTimeClinically relevant time/time-period for report
... performer 0..0
... resultsInterpreter 0..0
... specimen 0..0
... result 0..*Reference(OpenMRS Observation)Observations
... imagingStudy 0..0
... media 0..0
... conclusion 0..0
... presentedForm 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier for report
... basedOn 0..*Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)What was requested
... status ?!Σ1..1coderegistered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.

... category Σ0..*CodeableConceptService category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.


... code Σ1..1CodeableConceptName/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..*CodingCode defined by a terminology system
Binding: OpenMRS Order Code (required)
.... text Σ0..1stringPlain text representation of the concept
... subject Σ0..1Reference(Patient | Group | Device | Location)The subject of the report - usually, but not always, the patient
... encounter Σ0..1Reference(Encounter)Health care event when test ordered
... Slices for effective[x] Σ0..1Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
.... effective[x]:effectiveDateTime Σ0..1dateTimeClinically relevant time/time-period for report
... issued Σ0..1instantDateTime this version was made
... result 0..*Reference(OpenMRS Observation)Observations
... conclusionCode 0..*CodeableConceptCodes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.



doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports

doco Documentation for this format

This structure is derived from DiagnosticReport

Summary

Mandatory: 1 element
Prohibited: 7 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from DiagnosticReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id 0..1idLogical id of this artifact
... status 1..1coderegistered | partial | preliminary | final +
... code 1..1CodeableConceptName/Code for this diagnostic report
.... coding 1..*CodingCode defined by a terminology system
Binding: OpenMRS Order Code (required)
... effectiveDateTime 0..1dateTimeClinically relevant time/time-period for report
... performer 0..0
... resultsInterpreter 0..0
... specimen 0..0
... result 0..*Reference(OpenMRS Observation)Observations
... imagingStudy 0..0
... media 0..0
... conclusion 0..0
... presentedForm 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier for report
... basedOn 0..*Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)What was requested
... status ?!Σ1..1coderegistered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.

... category Σ0..*CodeableConceptService category
Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections.


... code Σ1..1CodeableConceptName/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ1..*CodingCode defined by a terminology system
Binding: OpenMRS Order Code (required)
.... text Σ0..1stringPlain text representation of the concept
... subject Σ0..1Reference(Patient | Group | Device | Location)The subject of the report - usually, but not always, the patient
... encounter Σ0..1Reference(Encounter)Health care event when test ordered
... Slices for effective[x] Σ0..1Clinically relevant time/time-period for report
Slice: Unordered, Open by type:$this
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
.... effective[x]:effectiveDateTime Σ0..1dateTimeClinically relevant time/time-period for report
... issued Σ0..1instantDateTime this version was made
... result 0..*Reference(OpenMRS Observation)Observations
... conclusionCode 0..*CodeableConceptCodes for the clinical conclusion of test results
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.



doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
DiagnosticReport.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
DiagnosticReport.statusrequiredDiagnosticReportStatus
DiagnosticReport.categoryexampleDiagnosticServiceSectionCodes
DiagnosticReport.codepreferredLOINCDiagnosticReportCodes (a valid code from LOINC)
DiagnosticReport.code.codingrequiredOpenMRSOrderCodeVS (a valid code from LOINC)
DiagnosticReport.conclusionCodeexampleSNOMEDCTClinicalFindings

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()