All Extensions

StructureDefinition Extension-England-DateTime

Canonical_URLDescriptionProfile_Purpose
https://fhir.nhs.uk/England/StructureDefinition/Extension-England-DateTime

This supports the exchange of non-clinical business dates and times. The extension date and/or time is carried along with a code to identify the type of date and/or time.

This extension extends the Encounter, the Communication, the Organization and the OrganizationAffiliation resources to support the exchange of information describing the specific business related date and/or time.

Context of Use: Organization, OrganizationAffiliation

Tree View

url1..1System.StringFixed Value
valueCodingCoding
url1..1System.StringFixed Value
valueDateTimedateTime
url1..1System.StringFixed Value

Table View

Extension..
Extension.extension2..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]Coding1..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]dateTime1..
Extension.url..
Extension.value[x]..0


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="Extension-England-DateTime" />
    <url value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-DateTime" />
    <version value="1.0.0" />
    <name value="ExtensionEnglandDateTime" />
    <title value="Extension England Date Time" />
    <status value="draft" />
    <date value="2023-10-24" />
    <publisher value="NHS England" />
    <contact>
        <name value="NHS England" />
        <telecom>
            <system value="email" />
            <value value="interoperabilityteam@nhs.net" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="This supports the exchange of non-clinical business dates and times.  The extension date and/or time is carried along with a code to identify the type of date and/or time." />
    <purpose value="This extension extends the Encounter, the Communication, the Organization and the OrganizationAffiliation resources to support the exchange of information describing the specific business related date and/or time." />
    <copyright value="Copyright &#169; 2023+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; 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. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <kind value="complex-type" />
    <abstract value="false" />
    <context>
        <type value="element" />
        <expression value="Organization" />
    </context>
    <context>
        <type value="element" />
        <expression value="OrganizationAffiliation" />
    </context>
    <type value="Extension" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
    <derivation value="constraint" />
    <differential>
        <element id="Extension">
            <path value="Extension" />
            <short value="This supports the exchange of dates and/or times." />
            <definition value="This supports the exchange of dates and/or times.  The extension date and/or time is carried along with a code to identify the type of date and/or time." />
        </element>
        <element id="Extension.extension">
            <path value="Extension.extension" />
            <min value="2" />
        </element>
        <element id="Extension.extension:type">
            <path value="Extension.extension" />
            <sliceName value="type" />
            <short value="Code to identify the type of time/date." />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Extension.extension:type.url">
            <path value="Extension.extension.url" />
            <fixedUri value="type" />
        </element>
        <element id="Extension.extension:type.value[x]">
            <path value="Extension.extension.value[x]" />
            <short value="A ValueSet to identify the type of business date time." />
            <min value="1" />
            <type>
                <code value="Coding" />
            </type>
            <binding>
                <strength value="extensible" />
                <description value="The type of business date time." />
                <valueSet value="https://fhir.nhs.uk/England/ValueSet/England-TypedDateTime" />
            </binding>
        </element>
        <element id="Extension.extension:dateTime">
            <path value="Extension.extension" />
            <sliceName value="dateTime" />
            <short value="The specific business related date and/or time." />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Extension.extension:dateTime.url">
            <path value="Extension.extension.url" />
            <fixedUri value="dateTime" />
        </element>
        <element id="Extension.extension:dateTime.value[x]">
            <path value="Extension.extension.value[x]" />
            <short value="The date and/or time." />
            <min value="1" />
            <type>
                <code value="dateTime" />
            </type>
        </element>
        <element id="Extension.url">
            <path value="Extension.url" />
            <fixedUri value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-DateTime" />
        </element>
        <element id="Extension.value[x]">
            <path value="Extension.value[x]" />
            <max value="0" />
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "Extension-England-DateTime",
    "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-DateTime",
    "version": "1.0.0",
    "name": "ExtensionEnglandDateTime",
    "title": "Extension England Date Time",
    "status": "draft",
    "date": "2023-10-24",
    "publisher": "NHS England",
    "contact":  [
        {
            "name": "NHS England",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "This supports the exchange of non-clinical business dates and times.  The extension date and/or time is carried along with a code to identify the type of date and/or time.",
    "purpose": "This extension extends the Encounter, the Communication, the Organization and the OrganizationAffiliation resources to support the exchange of information describing the specific business related date and/or time.",
    "copyright": "Copyright © 2023+ HL7 UK Licensed 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  http://www.apache.org/licenses/LICENSE-2.0 Unless 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. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        }
    ],
    "kind": "complex-type",
    "abstract": false,
    "context":  [
        {
            "type": "element",
            "expression": "Organization"
        },
        {
            "type": "element",
            "expression": "OrganizationAffiliation"
        }
    ],
    "type": "Extension",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Extension",
                "path": "Extension",
                "short": "This supports the exchange of dates and/or times.",
                "definition": "This supports the exchange of dates and/or times.  The extension date and/or time is carried along with a code to identify the type of date and/or time."
            },
            {
                "id": "Extension.extension",
                "path": "Extension.extension",
                "min": 2
            },
            {
                "id": "Extension.extension:type",
                "path": "Extension.extension",
                "sliceName": "type",
                "short": "Code to identify the type of time/date.",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Extension.extension:type.url",
                "path": "Extension.extension.url",
                "fixedUri": "type"
            },
            {
                "id": "Extension.extension:type.value[x]",
                "path": "Extension.extension.value[x]",
                "short": "A ValueSet to identify the type of business date time.",
                "min": 1,
                "type":  [
                    {
                        "code": "Coding"
                    }
                ],
                "binding": {
                    "strength": "extensible",
                    "description": "The type of business date time.",
                    "valueSet": "https://fhir.nhs.uk/England/ValueSet/England-TypedDateTime"
                }
            },
            {
                "id": "Extension.extension:dateTime",
                "path": "Extension.extension",
                "sliceName": "dateTime",
                "short": "The specific business related date and/or time.",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Extension.extension:dateTime.url",
                "path": "Extension.extension.url",
                "fixedUri": "dateTime"
            },
            {
                "id": "Extension.extension:dateTime.value[x]",
                "path": "Extension.extension.value[x]",
                "short": "The date and/or time.",
                "min": 1,
                "type":  [
                    {
                        "code": "dateTime"
                    }
                ]
            },
            {
                "id": "Extension.url",
                "path": "Extension.url",
                "fixedUri": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-DateTime"
            },
            {
                "id": "Extension.value[x]",
                "path": "Extension.value[x]",
                "max": "0"
            }
        ]
    }
}

Examples

Note:There is currently no example that uses this extension. An example will be added in a future release.

Extension Specific Guidance

There is a binding within this extension to ValueSet-England-TypedDateTime

StructureDefinition Extension-England-FlagRemovalReason

Canonical_URLDescriptionProfile_Purpose
https://fhir.nhs.uk/England/StructureDefinition/Extension-England-FlagRemovalReason

An extension used to allow the removal of a Flag and to indicate the reason why the Flag needs removal or has been removed.

The extension extends the Flag resource to support the NHS England requirements for removal of Flags with a stated reason.

Context of Use: Flag

Tree View

url1..1System.StringFixed Value
systemΣ1..1uri
versionΣ0..1string
codeΣ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean

Table View

Extension..
Extension.url..
Extension.value[x]Coding1..
Extension.value[x].system1..
Extension.value[x].code1..


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="Extension-England-FlagRemovalReason" />
    <url value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-FlagRemovalReason" />
    <version value="1.0.0" />
    <name value="ExtensionEnglandFlagRemovalReason" />
    <title value="Extension England Flag Removal Reason" />
    <status value="draft" />
    <date value="2023-08-18" />
    <publisher value="NHS England" />
    <contact>
        <name value="NHS England" />
        <telecom>
            <system value="email" />
            <value value="interoperabilityteam@nhs.net" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="An extension used to allow the removal of a Flag and to indicate the reason why the Flag needs removal or has been removed." />
    <purpose value="The extension extends the Flag resource to support the NHS England requirements for removal of Flags with a stated reason." />
    <copyright value="Copyright &#169; 2023+ NHS England Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \&quot;AS IS\&quot; 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. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <kind value="complex-type" />
    <abstract value="false" />
    <context>
        <type value="element" />
        <expression value="Flag" />
    </context>
    <type value="Extension" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
    <derivation value="constraint" />
    <differential>
        <element id="Extension.url">
            <path value="Extension.url" />
            <fixedUri value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-FlagRemovalReason" />
        </element>
        <element id="Extension.value[x]">
            <path value="Extension.value[x]" />
            <min value="1" />
            <type>
                <code value="Coding" />
            </type>
            <binding>
                <strength value="required" />
                <valueSet value="https://fhir.nhs.uk/England/ValueSet/England-FlagRemovalReason" />
            </binding>
        </element>
        <element id="Extension.value[x].system">
            <path value="Extension.value[x].system" />
            <min value="1" />
        </element>
        <element id="Extension.value[x].code">
            <path value="Extension.value[x].code" />
            <min value="1" />
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "Extension-England-FlagRemovalReason",
    "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-FlagRemovalReason",
    "version": "1.0.0",
    "name": "ExtensionEnglandFlagRemovalReason",
    "title": "Extension England Flag Removal Reason",
    "status": "draft",
    "date": "2023-08-18",
    "publisher": "NHS England",
    "contact":  [
        {
            "name": "NHS England",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "An extension used to allow the removal of a Flag and to indicate the reason why the Flag needs removal or has been removed.",
    "purpose": "The extension extends the Flag resource to support the NHS England requirements for removal of Flags with a stated reason.",
    "copyright": "Copyright © 2023+ NHS England Licensed 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  http://www.apache.org/licenses/LICENSE-2.0 Unless 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. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        }
    ],
    "kind": "complex-type",
    "abstract": false,
    "context":  [
        {
            "type": "element",
            "expression": "Flag"
        }
    ],
    "type": "Extension",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Extension.url",
                "path": "Extension.url",
                "fixedUri": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-FlagRemovalReason"
            },
            {
                "id": "Extension.value[x]",
                "path": "Extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "Coding"
                    }
                ],
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.nhs.uk/England/ValueSet/England-FlagRemovalReason"
                }
            },
            {
                "id": "Extension.value[x].system",
                "path": "Extension.value[x].system",
                "min": 1
            },
            {
                "id": "Extension.value[x].code",
                "path": "Extension.value[x].code",
                "min": 1
            }
        ]
    }
}

Examples

Note:Various Examples to illustrate the outcome of an attempted system operation on flag status,error or warning codes in response to a request

Extension Specific Guidance

There is a binding within this extension to ValueSet-England-FlagRemovalReason.

StructureDefinition Extension-England-OrganisationRole

Canonical_URLDescriptionProfile_Purpose
https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole

An extension to describe the role of the organisation and whether this is it's primary role.

This extension extends the Organization resource to support the NHS England requirement for additional information about organisational roles.

Context of Use: Organization

Tree View

url1..1System.StringFixed Value
valueBooleanboolean
url1..1System.StringFixed Value
valueIntegerinteger
url1..1System.StringFixed Value
systemΣ0..1uri
versionΣ0..1string
codeΣ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
url1..1System.StringFixed Value
valuePeriodPeriod
url1..1System.StringFixed Value
valueBooleanboolean
url1..1System.StringFixed Value

Table View

Extension..
Extension.extension5..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]boolean1..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]integer1..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]CodeableConcept1..
Extension.extension.value[x].coding..
Extension.extension.value[x].coding.code1..
Extension.extension1..
Extension.extension.url..
Extension.extension.value[x]Period1..
Extension.extension1..1
Extension.extension.url..
Extension.extension.value[x]boolean1..
Extension.url..
Extension.value[x]..0


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="Extension-England-OrganisationRole" />
    <url value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole" />
    <version value="1.0.0" />
    <name value="ExtensionEnglandOrganisationRole" />
    <title value="Extension England Organisation Role" />
    <status value="draft" />
    <date value="2023-10-18" />
    <publisher value="NHS England" />
    <contact>
        <name value="NHS England" />
        <telecom>
            <system value="email" />
            <value value="interoperabilityteam@nhs.net" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="An extension to describe the role of the organisation and whether this is it&#39;s primary role." />
    <purpose value="This extension extends the Organization resource to support the NHS England requirement for additional information about organisational roles." />
    <copyright value="Copyright &#169; 2023+ NHS England Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at&#160; http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \&quot;AS IS\&quot; 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. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at&#160; https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <kind value="complex-type" />
    <abstract value="false" />
    <context>
        <type value="element" />
        <expression value="Organization" />
    </context>
    <type value="Extension" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
    <derivation value="constraint" />
    <differential>
        <element id="Extension">
            <path value="Extension" />
            <short value="An Extension to describe what an Organisation does and whether this is the primary role of the Organisation." />
        </element>
        <element id="Extension.extension">
            <path value="Extension.extension" />
            <min value="5" />
        </element>
        <element id="Extension.extension:primaryRole">
            <path value="Extension.extension" />
            <sliceName value="primaryRole" />
            <short value="This describes the type of role of the organisation." />
            <definition value="This denotes whether the specific role is primary or non primary. Where the Boolean value is true then this is a primary role. Conversely, if the Boolean value is false then this indicates this is a non primary role." />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Extension.extension:primaryRole.url">
            <path value="Extension.extension.url" />
            <fixedUri value="primaryRole" />
        </element>
        <element id="Extension.extension:primaryRole.value[x]">
            <path value="Extension.extension.value[x]" />
            <min value="1" />
            <type>
                <code value="boolean" />
            </type>
        </element>
        <element id="Extension.extension:instanceID">
            <path value="Extension.extension" />
            <sliceName value="instanceID" />
            <short value="Unique ID for each instance of an organisation role (organisation roles can be ended and then the organisation later undertakes same role again)." />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Extension.extension:instanceID.url">
            <path value="Extension.extension.url" />
            <fixedUri value="instanceID" />
        </element>
        <element id="Extension.extension:instanceID.value[x]">
            <path value="Extension.extension.value[x]" />
            <min value="1" />
            <type>
                <code value="integer" />
            </type>
        </element>
        <element id="Extension.extension:code">
            <path value="Extension.extension" />
            <sliceName value="code" />
            <min value="1" />
            <max value="1" />
            <binding>
                <strength value="extensible" />
                <description value="A ValueSet to identify the Organisation Data Service (ODS) role codes" />
                <valueSet value="https://fhir.nhs.uk/England/ValueSet/England-OrganisationRole" />
            </binding>
        </element>
        <element id="Extension.extension:code.url">
            <path value="Extension.extension.url" />
            <fixedUri value="code" />
        </element>
        <element id="Extension.extension:code.value[x]">
            <path value="Extension.extension.value[x]" />
            <min value="1" />
            <type>
                <code value="CodeableConcept" />
            </type>
        </element>
        <element id="Extension.extension:code.value[x].coding.code">
            <path value="Extension.extension.value[x].coding.code" />
            <min value="1" />
        </element>
        <element id="Extension.extension:period">
            <path value="Extension.extension" />
            <sliceName value="period" />
            <short value="Period of the role" />
            <min value="1" />
        </element>
        <element id="Extension.extension:period.url">
            <path value="Extension.extension.url" />
            <fixedUri value="period" />
        </element>
        <element id="Extension.extension:period.value[x]">
            <path value="Extension.extension.value[x]" />
            <min value="1" />
            <type>
                <code value="Period" />
            </type>
        </element>
        <element id="Extension.extension:active">
            <path value="Extension.extension" />
            <sliceName value="active" />
            <short value="Roles are either active or inactive" />
            <definition value="Where the Boolean value is true, this means that the role is active.  Conversely if the Boolean value is false, then this means that the role is inactive." />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Extension.extension:active.url">
            <path value="Extension.extension.url" />
            <fixedUri value="active" />
        </element>
        <element id="Extension.extension:active.value[x]">
            <path value="Extension.extension.value[x]" />
            <min value="1" />
            <type>
                <code value="boolean" />
            </type>
        </element>
        <element id="Extension.url">
            <path value="Extension.url" />
            <fixedUri value="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole" />
        </element>
        <element id="Extension.value[x]">
            <path value="Extension.value[x]" />
            <max value="0" />
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "Extension-England-OrganisationRole",
    "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole",
    "version": "1.0.0",
    "name": "ExtensionEnglandOrganisationRole",
    "title": "Extension England Organisation Role",
    "status": "draft",
    "date": "2023-10-18",
    "publisher": "NHS England",
    "contact":  [
        {
            "name": "NHS England",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "An extension to describe the role of the organisation and whether this is it's primary role.",
    "purpose": "This extension extends the Organization resource to support the NHS England requirement for additional information about organisational roles.",
    "copyright": "Copyright © 2023+ NHS England Licensed 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  http://www.apache.org/licenses/LICENSE-2.0 Unless 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. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "kind": "complex-type",
    "abstract": false,
    "context":  [
        {
            "type": "element",
            "expression": "Organization"
        }
    ],
    "type": "Extension",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Extension",
                "path": "Extension",
                "short": "An Extension to describe what an Organisation does and whether this is the primary role of the Organisation."
            },
            {
                "id": "Extension.extension",
                "path": "Extension.extension",
                "min": 5
            },
            {
                "id": "Extension.extension:primaryRole",
                "path": "Extension.extension",
                "sliceName": "primaryRole",
                "short": "This describes the type of role of the organisation.",
                "definition": "This denotes whether the specific role is primary or non primary. Where the Boolean value is true then this is a primary role. Conversely, if the Boolean value is false then this indicates this is a non primary role.",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Extension.extension:primaryRole.url",
                "path": "Extension.extension.url",
                "fixedUri": "primaryRole"
            },
            {
                "id": "Extension.extension:primaryRole.value[x]",
                "path": "Extension.extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "boolean"
                    }
                ]
            },
            {
                "id": "Extension.extension:instanceID",
                "path": "Extension.extension",
                "sliceName": "instanceID",
                "short": "Unique ID for each instance of an organisation role (organisation roles can be ended and then the organisation later undertakes same role again).",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Extension.extension:instanceID.url",
                "path": "Extension.extension.url",
                "fixedUri": "instanceID"
            },
            {
                "id": "Extension.extension:instanceID.value[x]",
                "path": "Extension.extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "integer"
                    }
                ]
            },
            {
                "id": "Extension.extension:code",
                "path": "Extension.extension",
                "sliceName": "code",
                "min": 1,
                "max": "1",
                "binding": {
                    "strength": "extensible",
                    "description": "A ValueSet to identify the Organisation Data Service (ODS) role codes",
                    "valueSet": "https://fhir.nhs.uk/England/ValueSet/England-OrganisationRole"
                }
            },
            {
                "id": "Extension.extension:code.url",
                "path": "Extension.extension.url",
                "fixedUri": "code"
            },
            {
                "id": "Extension.extension:code.value[x]",
                "path": "Extension.extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "CodeableConcept"
                    }
                ]
            },
            {
                "id": "Extension.extension:code.value[x].coding.code",
                "path": "Extension.extension.value[x].coding.code",
                "min": 1
            },
            {
                "id": "Extension.extension:period",
                "path": "Extension.extension",
                "sliceName": "period",
                "short": "Period of the role",
                "min": 1
            },
            {
                "id": "Extension.extension:period.url",
                "path": "Extension.extension.url",
                "fixedUri": "period"
            },
            {
                "id": "Extension.extension:period.value[x]",
                "path": "Extension.extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "Period"
                    }
                ]
            },
            {
                "id": "Extension.extension:active",
                "path": "Extension.extension",
                "sliceName": "active",
                "short": "Roles are either active or inactive",
                "definition": "Where the Boolean value is true, this means that the role is active.  Conversely if the Boolean value is false, then this means that the role is inactive.",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Extension.extension:active.url",
                "path": "Extension.extension.url",
                "fixedUri": "active"
            },
            {
                "id": "Extension.extension:active.value[x]",
                "path": "Extension.extension.value[x]",
                "min": 1,
                "type":  [
                    {
                        "code": "boolean"
                    }
                ]
            },
            {
                "id": "Extension.url",
                "path": "Extension.url",
                "fixedUri": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-OrganisationRole"
            },
            {
                "id": "Extension.value[x]",
                "path": "Extension.value[x]",
                "max": "0"
            }
        ]
    }
}

Examples

Note:There is currently no example that uses this extension. An example will be added in a future release.

Extension Specific Guidance

There is a binding within this extension to ValueSet-England-OrganisationRole.