Notice: This guidance is under active development by NHS England and content may be added or updated on a regular basis.
Extension: Extension-CareConnect-GPC-ReasonCondition-1
Extension-CareConnect-GPC-ReasonCondition-1 (Extension) | C | | Extension | Element idExtension Short descriptionReason resource added/performed/given DefinitionReason resource added/performed/given.
Data typeExtension ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists() Mappings |
id | | 0..1 | string | There are no (further) constraints on this element Element idExtension.id Short descriptionxml:id (or equivalent in JSON) Definitionunique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data typestring Mappings |
extension | | 0..* | Extension | There are no (further) constraints on this element Element idExtension.extension Short descriptionAdditional Content defined by implementations Alternate namesextensions, user content DefinitionMay be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
CommentsThere 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.
Data typeExtension SlicingUnordered, Open, by url(Value) Extensions are always sliced by (at least) url Mappings |
url | | 1..1 | uriFixed Value | Element idExtension.url Short descriptionidentifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL.
CommentsThe 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.
Data typeuri Fixed valuehttps://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1 Mappings |
value[x] | | 1..1 | | Element idExtension.value[x] Short descriptionReason resource added/performed/given DefinitionReason resource added/performed/given.
Mappings |
valueCodeableConcept | | | CodeableConcept | Data type CodeableConcept |
valueReference | | | Reference(CareConnect-Condition-1) | Data type Reference(CareConnect-Condition-1) |
Extension |
Short | Reason resource added/performed/given |
Definition | Reason resource added/performed/given.
|
Cardinality | 0..* |
Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
Mappings | |
Extension.id |
Short | xml:id (or equivalent in JSON) |
Definition | unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
|
Cardinality | 0..1 |
Type | string |
Mappings | |
Extension.extension |
Short | Additional Content defined by implementations |
Definition | May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
|
Cardinality | 0..* |
Type | Extension |
Alias | extensions, 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 |
Mappings | |
Extension.url |
Short | identifies the meaning of the extension |
Definition | Source of the definition for the extension code - a logical name or a URL.
|
Cardinality | 1..1 |
Type | uri |
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://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1 |
Mappings | |
Extension.value[x] |
Short | Reason resource added/performed/given |
Definition | Reason resource added/performed/given.
|
Cardinality | 1..1 |
Type | Reference(CareConnect-Condition-1), CodeableConcept |
Mappings | |
</meta>
<url value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1" />
<name value="Extension-CareConnect-GPC-ReasonCondition-1" />
<date value="2017-07-12T10:48:31.4895265+01:00" />
<description value="The reason why a resource was added/performed/given. This may be due to a Condition, may be coded entity of some type, or may simply be present as text." />
<copyright value="Copyright © 2016 HL7 UK\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\nHL7® FHIR® standard Copyright © 2011+ HL7\n\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\n\nhttps://www.hl7.org/fhir/license.html" />
<kind value="complex-type" />
<context value="MedicationStatement" />
<context value="MedicationRequest" />
<type value="Extension" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
<path value="Extension" />
<short value="Reason resource added/performed/given" />
<definition value="Reason resource added/performed/given." />
</base>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.id" />
<short value="xml:id (or equivalent in JSON)" />
<definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<comment value="Note that FHIR strings may not exceed 1MB in size" />
<path value="Element.id" />
</base>
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</element>
<path value="Extension.extension" />
</discriminator>
<description value="Extensions are always sliced by (at least) url" />
</slicing>
<short value="Additional Content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="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." />
<alias value="extensions" />
<alias value="user content" />
<path value="Element.extension" />
</base>
<code value="Extension" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.url" />
<short value="identifies the meaning of the extension" />
<definition value="Source of the definition for the extension code - a logical name or a URL." />
<comment value="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." />
<path value="Extension.url" />
</base>
</type>
<fixedUri value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</mapping>
</element>
<path value="Extension.value[x]" />
<short value="Reason resource added/performed/given" />
<definition value="Reason resource added/performed/given." />
<comment value="A stream of bytes, base64 encoded" />
<path value="Extension.value[x]" />
</base>
<code value="CodeableConcept" />
</type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1" />
</type>
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() | (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
</constraint>
</mapping>
</mapping>
</element>
</snapshot>
<path value="Extension" />
<short value="Reason resource added/performed/given" />
<definition value="Reason resource added/performed/given." />
</element>
<path value="Extension.url" />
<fixedUri value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1" />
</element>
<path value="Extension.value[x]" />
<short value="Reason resource added/performed/given" />
<definition value="Reason resource added/performed/given." />
<code value="CodeableConcept" />
</type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1" />
</type>
</element>
</differential>
</StructureDefinition>
{
},
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1",
"name": "Extension-CareConnect-GPC-ReasonCondition-1",
"date": "2017-07-12T10:48:31.4895265+01:00",
"description": "The reason why a resource was added/performed/given. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.",
"copyright": "Copyright © 2016 HL7 UK\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\nHL7® FHIR® standard Copyright © 2011+ HL7\n\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\n\nhttps://www.hl7.org/fhir/license.html",
"Observation",
"Procedure",
"MedicationStatement",
"MedicationRequest"
],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
{
"short": "Reason resource added/performed/given",
"definition": "Reason resource added/performed/given.",
},
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
]
},
{
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment": "Note that FHIR strings may not exceed 1MB in size",
},
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
},
{
"id": "Extension.extension",
"path": "Extension.extension",
],
"description": "Extensions are always sliced by (at least) url",
},
"short": "Additional Content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "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.",
"extensions",
"user content"
],
"path": "Element.extension",
},
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
},
{
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
]
},
{
],
"short": "identifies the meaning of the extension",
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"comment": "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.",
},
],
"fixedUri": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1",
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"short": "Reason resource added/performed/given",
"definition": "Reason resource added/performed/given.",
"comment": "A stream of bytes, base64 encoded",
"path": "Extension.value[x]",
},
{
"code": "CodeableConcept"
},
{
"targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1"
}
],
],
{
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() | (children().count() > id.count())",
"xpath": "@value|f:*|h:div"
}
],
]
}
]
},
{
"short": "Reason resource added/performed/given",
"definition": "Reason resource added/performed/given."
},
{
"fixedUri": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ReasonCondition-1"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"short": "Reason resource added/performed/given",
"definition": "Reason resource added/performed/given.",
{
"code": "CodeableConcept"
},
{
"targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1"
}
]
}
]
}
}