Example - OrganizationAffiliation Search Result

Tree View

Bundle

Table View

Bundle.id[0]ODS-Bundle-ParticipatingOrganizationSearchResults-Example
Bundle.type[0]searchset
Bundle.total[0]1
Bundle.link[0].relation[0]self
Bundle.link[0].url[0]https://baseurl/OrganizationAffiliation?participating-organization=https://fhir.nhs.uk/Id/ods-organization-code|G81086
Bundle.entry[0].fullUrl[0]https://baseurl/OrganizationAffiliation/256248
Bundle.entry[0].resource[0].id[0]256248
Bundle.entry[0].resource[0].extension[0].extension[0].url[0]dateType
Bundle.entry[0].resource[0].extension[0].extension[0].value[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
Bundle.entry[0].resource[0].extension[0].extension[0].value[0].code[0]Legal
Bundle.entry[0].resource[0].extension[0].extension[0].value[0].display[0]Legal
Bundle.entry[0].resource[0].extension[0].extension[1].url[0]period
Bundle.entry[0].resource[0].extension[0].extension[1].value[0].start[0]1999-04-01
Bundle.entry[0].resource[0].extension[0].extension[1].value[0].end[0]2002-03-31
Bundle.entry[0].resource[0].extension[0].url[0]https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
Bundle.entry[0].resource[0].extension[1].extension[0].url[0]dateType
Bundle.entry[0].resource[0].extension[1].extension[0].value[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-PeriodType
Bundle.entry[0].resource[0].extension[1].extension[0].value[0].code[0]Operational
Bundle.entry[0].resource[0].extension[1].extension[0].value[0].display[0]Operational
Bundle.entry[0].resource[0].extension[1].extension[1].url[0]period
Bundle.entry[0].resource[0].extension[1].extension[1].value[0].start[0]1999-04-01
Bundle.entry[0].resource[0].extension[1].extension[1].value[0].end[0]2002-03-31
Bundle.entry[0].resource[0].extension[1].url[0]https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
Bundle.entry[0].resource[0].identifier[0].system[0]https://digital.nhs.uk/services/organisation-data-service/CodeSystem/organization-relationship-instance
Bundle.entry[0].resource[0].identifier[0].value[0]256248
Bundle.entry[0].resource[0].active[0]False
Bundle.entry[0].resource[0].period[0].start[0]1999-04-01
Bundle.entry[0].resource[0].period[0].end[0]2002-03-31
Bundle.entry[0].resource[0].organization[0].reference[0]Organization/ODS-Organization-G81086-Example
Bundle.entry[0].resource[0].organization[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Bundle.entry[0].resource[0].organization[0].identifier[0].value[0]G81086
Bundle.entry[0].resource[0].participatingOrganization[0].reference[0]Organization/ODS-Organization-4VE03-Example
Bundle.entry[0].resource[0].participatingOrganization[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Bundle.entry[0].resource[0].participatingOrganization[0].identifier[0].value[0]4VE03
Bundle.entry[0].resource[0].code[0].coding[0].system[0]https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRelationship
Bundle.entry[0].resource[0].code[0].coding[0].code[0]RE4
Bundle.entry[0].resource[0].code[0].coding[0].display[0]IS COMMISSIONED BY
Bundle.entry[0].search[0].mode[0]match

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="ODS-Bundle-ParticipatingOrganizationSearchResults-Example" />
    <type value="searchset" />
    <total value="1" />
    <link>
        <relation value="self" />
        <url value="https://baseurl/OrganizationAffiliation?participating-organization=https://fhir.nhs.uk/Id/ods-organization-code|G81086" />
    </link>
    <entry>
        <fullUrl value="https://baseurl/OrganizationAffiliation/256248" />
        <resource>
            <OrganizationAffiliation>
                <id value="256248" />
                <extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod">
                    <extension url="dateType">
                        <valueCoding>
                            <system value="https://fhir.nhs.uk/England/CodeSystem/England-PeriodType" />
                            <code value="Legal" />
                            <display value="Legal" />
                        </valueCoding>
                    </extension>
                    <extension url="period">
                        <valuePeriod>
                            <start value="1999-04-01" />
                            <end value="2002-03-31" />
                        </valuePeriod>
                    </extension>
                </extension>
                <extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod">
                    <extension url="dateType">
                        <valueCoding>
                            <system value="https://fhir.nhs.uk/England/CodeSystem/England-PeriodType" />
                            <code value="Operational" />
                            <display value="Operational" />
                        </valueCoding>
                    </extension>
                    <extension url="period">
                        <valuePeriod>
                            <start value="1999-04-01" />
                            <end value="2002-03-31" />
                        </valuePeriod>
                    </extension>
                </extension>
                <identifier>
                    <system value="https://digital.nhs.uk/services/organisation-data-service/CodeSystem/organization-relationship-instance" />
                    <value value="256248" />
                </identifier>
                <active value="false" />
                <period>
                    <start value="1999-04-01" />
                    <end value="2002-03-31" />
                </period>
                <organization>
                    <reference value="Organization/ODS-Organization-G81086-Example" />
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="G81086" />
                    </identifier>
                </organization>
                <participatingOrganization>
                    <reference value="Organization/ODS-Organization-4VE03-Example" />
                    <identifier>
                        <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                        <value value="4VE03" />
                    </identifier>
                </participatingOrganization>
                <code>
                    <coding>
                        <system value="https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRelationship" />
                        <code value="RE4" />
                        <display value="IS COMMISSIONED BY" />
                    </coding>
                </code>
            </OrganizationAffiliation>
        </resource>
        <search>
            <mode value="match" />
        </search>
    </entry>
</Bundle>

JSON View

{
    "resourceType": "Bundle",
    "id": "ODS-Bundle-ParticipatingOrganizationSearchResults-Example",
    "type": "searchset",
    "total": 1,
    "link":  [
        {
            "relation": "self",
            "url": "https://baseurl/OrganizationAffiliation?participating-organization=https://fhir.nhs.uk/Id/ods-organization-code|G81086"
        }
    ],
    "entry":  [
        {
            "fullUrl": "https://baseurl/OrganizationAffiliation/256248",
            "resource": {
                "resourceType": "OrganizationAffiliation",
                "id": "256248",
                "extension":  [
                    {
                        "extension":  [
                            {
                                "url": "dateType",
                                "valueCoding": {
                                    "system": "https://fhir.nhs.uk/England/CodeSystem/England-PeriodType",
                                    "code": "Legal",
                                    "display": "Legal"
                                }
                            },
                            {
                                "url": "period",
                                "valuePeriod": {
                                    "start": "1999-04-01",
                                    "end": "2002-03-31"
                                }
                            }
                        ],
                        "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod"
                    },
                    {
                        "extension":  [
                            {
                                "url": "dateType",
                                "valueCoding": {
                                    "system": "https://fhir.nhs.uk/England/CodeSystem/England-PeriodType",
                                    "code": "Operational",
                                    "display": "Operational"
                                }
                            },
                            {
                                "url": "period",
                                "valuePeriod": {
                                    "start": "1999-04-01",
                                    "end": "2002-03-31"
                                }
                            }
                        ],
                        "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod"
                    }
                ],
                "identifier":  [
                    {
                        "system": "https://digital.nhs.uk/services/organisation-data-service/CodeSystem/organization-relationship-instance",
                        "value": "256248"
                    }
                ],
                "active": false,
                "period": {
                    "start": "1999-04-01",
                    "end": "2002-03-31"
                },
                "organization": {
                    "reference": "Organization/ODS-Organization-G81086-Example",
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "G81086"
                    }
                },
                "participatingOrganization": {
                    "reference": "Organization/ODS-Organization-4VE03-Example",
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "4VE03"
                    }
                },
                "code":  [
                    {
                        "coding":  [
                            {
                                "system": "https://digital.nhs.uk/services/organisation-data-service/CodeSystem/ODSRelationship",
                                "code": "RE4",
                                "display": "IS COMMISSIONED BY"
                            }
                        ]
                    }
                ]
            },
            "search": {
                "mode": "match"
            }
        }
    ]
}