Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1

Making Electronic Data More available for Research and Public Health (MedMorph), published by HL7 International - Public Health Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-medmorph/ and changes regularly. See the Directory of published versions

## Extension: US Public Health Related Data Extension

Official URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension | Version: 1.0.0
Draft as of 2022-03-30 | Computable Name: USPublicHealthRelatedDataExtension

The relatedData extension allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action.

Context of Use

This extension may be used on the following element(s):

- Element ID PlanDefinition.action.input
- Element ID PlanDefinition.action.action.input
- Element ID PlanDefinition.action.output
- Element ID PlanDefinition.action.action.output

Usage info

Usage:

- Use this Extension: MedMorph PlanDefinition and US Public Health PlanDefinition
- Examples for this Extension: MedMorphPlanDefinitionExample

### Formal Views of Extension Content

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

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Simple Extension of type string: The relatedData extension allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action.

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | US Public Health Related Data Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"
value[x] |  | 1..1 | string | The ID of the input or output element that provides data to this input or results as output.
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | US Public Health Related Data Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"
value[x] |  | 1..1 | string | The ID of the input or output element that provides data to this input or results as output.
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type string: The relatedData extension allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | US Public Health Related Data Extension
url |  | 1..1 | uri | "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"
value[x] |  | 1..1 | string | The ID of the input or output element that provides data to this input or results as output.
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | US Public Health Related Data Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-relateddata-extension"
value[x] |  | 1..1 | string | The ID of the input or output element that provides data to this input or results as output.
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |