MyHealtheVet PHR FHIR API
0.3.9-current - ci-build
MyHealtheVet PHR FHIR API, published by VA Digital Services. This guide is not an authorized publication; it is the continuous build for version 0.3.9-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/department-of-veterans-affairs/mhv-fhir-phr-mapping/ and changes regularly. See the Directory of published versions
Official URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/VA.MHV.PHR.chReport | Version: 0.3.9-current | |||
Standards status: Trial-use | Maturity Level: 3 | Computable Name: MHVchReport |
Profile on DiagnosticReport for Chem-Hem lab report.
For API details see:
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from USCoreDiagnosticReportProfileLaboratoryReporting
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DiagnosticReport | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes |
Slices for identifier | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use | |
identifier:Rid | 0..1 | Identifier | Business identifier for report | |
use | 1..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: usual | |
system | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} | |
value | 0..1 | string | {labTestPromises.recordIdentifier.identity} | |
identifier:TOid | 0..1 | Identifier | Business identifier for report | |
use | 1..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: secondary | |
system | C | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} |
value | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} | |
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested |
status | 1..1 | code | registered | partial | preliminary | final + | |
category | 2..* | CodeableConcept | Service category | |
Slices for category | Content/Rules for all slices | |||
category:ChSlice | 1..1 | CodeableConcept | Service category Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |
code | ||||
coding | 0..0 | |||
text | S | 1..1 | string | Plain text representation of the concept Required Pattern: CH |
subject | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient | |
encounter | 0..0 | |||
Slices for effective[x] | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Open by type:$this | |
effective[x]:effectiveDateTime | S | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) |
issued | 1..1 | instant | When the report was released | |
performer | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource | |
resultsInterpreter | 0..0 | |||
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on |
result | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations | |
imagingStudy | 0..0 | |||
media | 0..0 | |||
conclusion | 0..0 | |||
conclusionCode | 0..0 | |||
presentedForm | 0..0 | |||
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DiagnosticReport | C | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports us-core-8: effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' us-core-9: issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier | Σ | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use |
identifier:Rid | Σ | 0..1 | Identifier | Business identifier for report |
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: usual |
system | Σ | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} Example General: http://www.acme.com/identifiers/patient |
value | Σ | 0..1 | string | {labTestPromises.recordIdentifier.identity} Example General: 123456 |
identifier:TOid | Σ | 0..1 | Identifier | Business identifier for report |
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: secondary |
system | ΣC | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} Example General: http://www.acme.com/identifiers/patient |
value | Σ | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} Example General: 123456 |
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested |
status | ?!SΣC | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required) |
Slices for category | SΣ | 2..* | CodeableConcept | Service category Slice: Unordered, Open by pattern:$this Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. |
category:LaboratorySlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LAB | |
category:ChSlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |
code | SΣ | 1..1 | CodeableConcept | US Core Laboratory Report Order Code Binding: US Core Diagnostic Report Laboratory Codes (extensible): LOINC codes |
text | SΣ | 1..1 | string | Plain text representation of the concept Required Pattern: CH |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient |
Slices for effective[x] | SΣC | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Closed by type:$this |
effective[x]:effectiveDateTime | SΣC | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) |
issued | SΣC | 1..1 | instant | When the report was released |
performer | SΣ | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource |
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on |
result | S | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
DiagnosticReport.identifier:Rid.use | required | Pattern: usualhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
DiagnosticReport.identifier:TOid.use | required | Pattern: secondaryhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status from the FHIR Standard | |
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.category:LaboratorySlice | example | Pattern: LABhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.category:ChSlice | example | Pattern: CHhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.code | extensible | USCoreDiagnosticReportLabCodeshttp://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
DiagnosticReport | C | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports us-core-8: effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' us-core-9: issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use | ||||
identifier:Rid | Σ | 0..1 | Identifier | Business identifier for report | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: usual | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 0..1 | string | {labTestPromises.recordIdentifier.identity} Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:TOid | Σ | 0..1 | Identifier | Business identifier for report | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: secondary | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | ΣC | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested | ||||
status | ?!SΣC | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required) | ||||
Slices for category | SΣ | 2..* | CodeableConcept | Service category Slice: Unordered, Open by pattern:$this Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
category:LaboratorySlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LAB | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
category:ChSlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
code | SΣ | 1..1 | CodeableConcept | US Core Laboratory Report Order Code Binding: US Core Diagnostic Report Laboratory Codes (extensible): LOINC codes | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
text | SΣ | 1..1 | string | Plain text representation of the concept Required Pattern: CH | ||||
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient | ||||
Slices for effective[x] | SΣC | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Closed by type:$this | ||||
effective[x]:effectiveDateTime | SΣC | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) | ||||
issued | SΣC | 1..1 | instant | When the report was released | ||||
performer | SΣ | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource | ||||
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on | ||||
result | S | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
DiagnosticReport.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
DiagnosticReport.identifier:Rid.use | required | Pattern: usualhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.identifier:Rid.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
DiagnosticReport.identifier:TOid.use | required | Pattern: secondaryhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.identifier:TOid.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status from the FHIR Standard | ||||
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.category:LaboratorySlice | example | Pattern: LABhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.category:ChSlice | example | Pattern: CHhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.code | extensible | USCoreDiagnosticReportLabCodeshttp://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
This structure is derived from USCoreDiagnosticReportProfileLaboratoryReporting
Summary
Mandatory: 9 elements(2 nested mandatory elements)
Must-Support: 5 elements
Prohibited: 8 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 3
Differential View
This structure is derived from USCoreDiagnosticReportProfileLaboratoryReporting
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DiagnosticReport | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes |
Slices for identifier | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use | |
identifier:Rid | 0..1 | Identifier | Business identifier for report | |
use | 1..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: usual | |
system | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} | |
value | 0..1 | string | {labTestPromises.recordIdentifier.identity} | |
identifier:TOid | 0..1 | Identifier | Business identifier for report | |
use | 1..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: secondary | |
system | C | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} |
value | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} | |
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested |
status | 1..1 | code | registered | partial | preliminary | final + | |
category | 2..* | CodeableConcept | Service category | |
Slices for category | Content/Rules for all slices | |||
category:ChSlice | 1..1 | CodeableConcept | Service category Required Pattern: At least the following | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |
code | ||||
coding | 0..0 | |||
text | S | 1..1 | string | Plain text representation of the concept Required Pattern: CH |
subject | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient | |
encounter | 0..0 | |||
Slices for effective[x] | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Open by type:$this | |
effective[x]:effectiveDateTime | S | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) |
issued | 1..1 | instant | When the report was released | |
performer | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource | |
resultsInterpreter | 0..0 | |||
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on |
result | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations | |
imagingStudy | 0..0 | |||
media | 0..0 | |||
conclusion | 0..0 | |||
conclusionCode | 0..0 | |||
presentedForm | 0..0 | |||
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DiagnosticReport | C | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports us-core-8: effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' us-core-9: issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier | Σ | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use |
identifier:Rid | Σ | 0..1 | Identifier | Business identifier for report |
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: usual |
system | Σ | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} Example General: http://www.acme.com/identifiers/patient |
value | Σ | 0..1 | string | {labTestPromises.recordIdentifier.identity} Example General: 123456 |
identifier:TOid | Σ | 0..1 | Identifier | Business identifier for report |
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: secondary |
system | ΣC | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} Example General: http://www.acme.com/identifiers/patient |
value | Σ | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} Example General: 123456 |
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested |
status | ?!SΣC | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required) |
Slices for category | SΣ | 2..* | CodeableConcept | Service category Slice: Unordered, Open by pattern:$this Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. |
category:LaboratorySlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LAB | |
category:ChSlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |
code | SΣ | 1..1 | CodeableConcept | US Core Laboratory Report Order Code Binding: US Core Diagnostic Report Laboratory Codes (extensible): LOINC codes |
text | SΣ | 1..1 | string | Plain text representation of the concept Required Pattern: CH |
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient |
Slices for effective[x] | SΣC | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Closed by type:$this |
effective[x]:effectiveDateTime | SΣC | 1..1 | dateTime | Diagnostically relevant time (typically the time of specimen collection) |
issued | SΣC | 1..1 | instant | When the report was released |
performer | SΣ | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource |
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on |
result | S | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
DiagnosticReport.identifier:Rid.use | required | Pattern: usualhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
DiagnosticReport.identifier:TOid.use | required | Pattern: secondaryhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status from the FHIR Standard | |
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.category:LaboratorySlice | example | Pattern: LABhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.category:ChSlice | example | Pattern: CHhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | |
DiagnosticReport.code | extensible | USCoreDiagnosticReportLabCodeshttp://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
DiagnosticReport | C | 0..* | USCoreDiagnosticReportProfileLaboratoryReporting | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports us-core-8: effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' us-core-9: issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended' | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
note | S | 0..* | string | Notes URL: https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/Notes | ||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | Σ | 1..* | Identifier | Business identifier for report Slice: Unordered, Open by pattern:use | ||||
identifier:Rid | Σ | 0..1 | Identifier | Business identifier for report | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: usual | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId} Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 0..1 | string | {labTestPromises.recordIdentifier.identity} Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:TOid | Σ | 0..1 | Identifier | Business identifier for report | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: secondary | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | ΣC | 0..1 | uri | urn:oid:2.16.840.1.113883.4.349.4.{stationNbr} TOid-startswithoid: ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 0..1 | string | `recordIdentifier.identifier` | `/` | {specimentTakenDate.literal} Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
basedOn | S | 1..* | Reference(VA MHV PHR CH labTests.orderedTestCode) {c} | What was requested | ||||
status | ?!SΣC | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required) | ||||
Slices for category | SΣ | 2..* | CodeableConcept | Service category Slice: Unordered, Open by pattern:$this Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
category:LaboratorySlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: LAB | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
category:ChSlice | SΣ | 1..1 | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074 | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CH | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
code | SΣ | 1..1 | CodeableConcept | US Core Laboratory Report Order Code Binding: US Core Diagnostic Report Laboratory Codes (extensible): LOINC codes | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
text | SΣ | 1..1 | string | Plain text representation of the concept Required Pattern: CH | ||||
subject | SΣ | 1..1 | Reference(US Core Patient Profile) | The subject of the report - usually, but not always, the patient | ||||
Slices for effective[x] | SΣC | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) Slice: Unordered, Closed by type:$this | ||||
effective[x]:effectiveDateTime | SΣC | 1..1 | dateTime S | Diagnostically relevant time (typically the time of specimen collection) | ||||
issued | SΣC | 1..1 | instant | When the report was released | ||||
performer | SΣ | 1..1 | Reference(VA MHV PHR Organization) {c} | recordSource | ||||
specimen | S | 1..1 | Reference(VA MHV PHR HDR CH Specimen) {c} | Specimens this report is based on | ||||
result | S | 0..* | Reference(VA MHV PHR CH labTest.chemistryResults) {c} | Observations | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
DiagnosticReport.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
DiagnosticReport.identifier:Rid.use | required | Pattern: usualhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.identifier:Rid.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
DiagnosticReport.identifier:TOid.use | required | Pattern: secondaryhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
DiagnosticReport.identifier:TOid.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
DiagnosticReport.status | required | DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status from the FHIR Standard | ||||
DiagnosticReport.category | example | DiagnosticServiceSectionCodeshttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.category:LaboratorySlice | example | Pattern: LABhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.category:ChSlice | example | Pattern: CHhttp://hl7.org/fhir/ValueSet/diagnostic-service-sections from the FHIR Standard | ||||
DiagnosticReport.code | extensible | USCoreDiagnosticReportLabCodeshttp://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes |
Id | Grade | Path(s) | Details | Requirements |
TOid-startswithoid | error | DiagnosticReport.identifier:TOid.system | ID system must start with urn:oid:2.16.840.1.113883.4.349.4. The next would be the {stationNbr} : value.startsWith('urn:oid:2.16.840.1.113883.4.349.4.') |
This structure is derived from USCoreDiagnosticReportProfileLaboratoryReporting
Summary
Mandatory: 9 elements(2 nested mandatory elements)
Must-Support: 5 elements
Prohibited: 8 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 3
Other representations of profile: CSV, Excel, Schematron
Lab.xsd
schema.labTestPromise
is mapped into a FHIR DiagnosticReport
, ServiceRequest
, Observation
, and Specimen
. Where the labTestPromise
only has labSubscript
of CH
(Chem-Hem).meta.profile
set to https://department-of-veterans-affairs.github.io/mhv-fhir-phr-mapping/StructureDefinition/VA.MHV.PHR.chReport
to indicate the intent to be compliant with this profilelabTestPromises
is mapped onto this FHIR DiagnosticReport
for laboratory reporting. The mapping to HDR labTestPromise
CH
. No other coding valueshttp://terminology.hl7.org/CodeSystem/v2-0074#LAB
labTestPromises.labTests.orderedTestCode
is recorded as a Ordered test that is contained in the DiagnosticReport. The map to HDR orderedTestCode.labTestPromises.labTests.chemistryResult
are each recorded as a FHIR Observation result that is contained in the DiagnosticReport. The map to HDR chTestPromise.labTestPromises.specimen
is mapped into a FHIR Specimen resource that is contained in the DiagnosticReport. The map to HDR Specimen.
99VA60
= http://va.gov/terminology/vistaDefinedTerms/60
)final
if all Observations are final; and preliminary
if any Observations are not final.entered-in-error
if ORDER CANCELLED
or deletedunknown
as we are creating a contained resource for thisrules interpreted from ChemistryTransformer.java
CH
C
)MHV eVault has one object definition that gets replicated for each portion (Lab, Order, and Test), identified by recordSubType element. (Test is chemistryResult, Order is orderedTest, Lab is overall?)
V | Vn | HDR labTestPromises | MHV eVault | FHIR | Note |
---|---|---|---|---|---|
icn={icn} | DiagnosticReport.subject | ||||
recordSource/ | stationNumber={namespaceId} | DiagnosticReport.performer[org1] | |||
(labTestRequest, specimen, labTests) | recordSubType | LAB / PANEL / TEST |
|||
63.07-3 | labTests[n]/orderedTestCode/ | orderedTest = {displayText} | ServiceRequest[n].code | ||
labTests[n]/chemistryResults[m]/testIdentifier/ | labTestName={originalText} | Observation[m].code | |||
63.04-10 | labTests[n]/chemistryResults[m]/observationStatus | status | Observation[m].status | see table below | |
labTests[n]/chemistryResults[m]/observationValue | result | Observation[m].value[x] | |||
labTests[n]/chemistryResults[m]/observationUnits | units | Observation[m].valueQuantity.units | |||
labTests[n]/chemistryResults[m]/valueInterpretation | resultIndicator | Observation[m].interpretation | see translation | ||
labTests[n]/chemistryResults[m]/referenceRange | referenceRange | Observation[m].referenceRange.text | |||
labTests[n]/chemistryResults[m]/labCommentEvents | interpretation | Observation[m].note.text | multiple | ||
labTests[n]/chemistryResults[m]/performingOrganization/ | performingLocation={location} | Observation[m].performer[org2] | |||
"" | performingLocationName={name} | ||||
labTestRequest/author/ | orderingProvider={name} | ServiceRequest[n].requester | |||
labCommentEvents | comments | DiagnosticReport.extension[notes] | multiple | ||
labSubscript | labType | DiagnosticReport.code.text | CH |
||
specimen/specimenTakenDate | collectedOnDatePrecise | Specimen.collectedDateTime | |||
"" | collectedOnDateImprecise | ||||
"" | DiagnosticReport.effectiveDateTime | ||||
"" | Observation[*].effectiveDateTime | ||||
recordIdentifier | recordId | DiagnosticReport.identifier[Rid] | |||
specimen/specimenSource/ | specimenSource={displayText} | Specimen.type | |||
labTestRequest/orderingFacilityIdentifier/ | orderingLocation={name} | ServiceRequest[n].performer[org3] | |||
reportCompleteDate | reportCompleteDatePrecise | DiagnosticReport.issued | |||
"" | reportCompleteDateImprecise | ||||
reportCompleteDate | reportCompleteDatePrecise | Observation[*].issued | |||
DiagnosticReport.category=LAB |
also all chTest code | ||||
DiagnosticReport.category=v2-0074#CH |
|||||
DiagnosticReport.status | based on all Observation.status. So final or preliminary |
||||
Specimen.status=available |
|||||
Specimen.request = {ServiceRequest} | multiple | ||||
ServiceRequest[n].category=Laboratory procedure |
|||||
ServiceRequest[n].status=unknown |
|||||
ServiceRequest[n].intent=order |
|||||
Observation[m].category=laboratory |
|||||
Observation[m].specimen = {Specimen} | |||||
Observation[m].basedOn = {ServiceRequest} | |||||
DiagnosticReport.result={Observation} | |||||
recordVersion | |||||
recordUpdateTime/ |
FHIR mapping. Same as concept map translation
code | meaning | MHV PHR | FHIR Observation.status |
---|---|---|---|
C | CORRECTED RESULTS | AMENDED | corrected |
F | FINAL RESULTS | FINAL | final |
Y | NO ORDER ON RECORD | UNKNOWN | unknown |
R | NOT VERIFIED | UNKNOWN | preliminary |
X | ORDER CANCELLED | CANCELLED | cancelled |
O | ORDER RECEIVED | UNKNOWN | registered |
P | PRELIMINARY | UNKNOWN | preliminary |
S | PROCEDURE SCHEDULED | UNKNOWN | registered |
A | SOME RESULTS AVAILABLE | UNKNOWN | unknown |
I | SPECIMEN RECEIVED | PRELIMINARY | preliminary |
recordIdentifier
into an Identifier
Given:
<labTestPromises>
<recordIdentifier>
<identity>1103030001</identity>
<namespaceId>LR</namespaceId>
<universalId>TEST.SALT-LAKE.MED.VA.GOV</universalId>
<universalIdType>DNS</universalIdType>
</recordIdentifier>
Option to use urn
encoding with a "Federated Content" according to RFC 4198
convert as:
* identifier[Rid].system ^short = "DNS universalIdType: `urn:fdc:` + {universalID} + `:` + {namespaceId}"
* identifier[Rid].value ^short = "{labTestPromises.recordIdentifier.identity}"
becomes:
* identifier[Rid].value = "1103030001"
* identifier[Rid].system = "urn:fdc:TEST.SALT-LAKE.MED.VA.GOV:LR"
The string we are given in valueInterpretation always goes into Observation.interpretation.text
FHIR mapping. Same as concept map translation
code | meaning | FHIR Observation.intepretation.coding |
---|---|---|
L | Low | L |
LL | Very Low | LL |
L* | Very Low | LL |
H | High | H |
HH | Very High | HH |
H* | Very High | HH |
A | Abnormal | A |
All other codes do NOT translate into a code.