RDC Interoperability Guide
1.2.0

DiabetesType

Official URL: https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType Version: 1.0.0
Parent:

http://hl7.org/fhir/StructureDefinition/Extension

Computable Name:

ExtDiabetesType

Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient.

Formal Views of Profile Content

id0..1id
extensionC0..0Extension
url1..1uriFixed Value
valueReferenceReference(RdcCondition-DiabetesType)

Extension
Shortext DiabetesType
Definition

Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient.

Cardinality0..*
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a,N/A
Extension.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
Extension.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..0
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Extension.url
Shortidentifies the meaning of the extension
Definition

Source of the definition for the extension code - a logical name or a URL.

Cardinality1..1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value
https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType
Mappings
  • rim: N/A
Extension.value[x]
ShortValue of extension
Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Cardinality0..1
TypeReference(RdcCondition-DiabetesType)
ConditionsThe cardinality or value of this element may be affected by these constraints: ext-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="ext-DiabetesType" />
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
<valueCode value="can-bind" />
</extension>
<url value="https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType" />
<version value="1.0.0" />
<name value="ExtDiabetesType" />
<title value="ext DiabetesType" />
<description value="Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient." />
<fhirVersion value="5.0.0" />
<kind value="complex-type" />
<abstract value="false" />
<type value="element" />
<expression value="Element" />
</context>
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<derivation value="constraint" />
<element id="Extension">
<path value="Extension" />
<short value="ext DiabetesType" />
<definition value="Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient." />
</element>
<element id="Extension.extension">
<path value="Extension.extension" />
<max value="0" />
</element>
<element id="Extension.url">
<path value="Extension.url" />
<fixedUri value="https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType" />
</element>
<element id="Extension.value[x]">
<path value="Extension.value[x]" />
<code value="Reference" />
<targetProfile value="https://roche.com/fhir/iop/StructureDefinition/rdc-Condition-diabetes-type" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "ext-DiabetesType",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
"valueCode": "can-bind"
}
],
"url": "https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType",
"version": "1.0.0",
"name": "ExtDiabetesType",
"title": "ext DiabetesType",
"description": "Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient.",
"fhirVersion": "5.0.0",
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "Element"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"element": [
{
"id": "Extension",
"path": "Extension",
"short": "ext DiabetesType",
"definition": "Condition related to the Patient resource indicating the type of diabetes. This resource is contained in the Patient."
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "https://roche.com/fhir/iop/StructureDefinition/ext-DiabetesType"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"type": [
{
"code": "Reference",
"https://roche.com/fhir/iop/StructureDefinition/rdc-Condition-diabetes-type"
]
}
]
}
]
}
}