RA-PatientFlag-Example

Table View

Flag.id[0]RA-PatientFlag-Example
Flag.meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag
Flag.contained[0].id[0]c4e2e862-3bf4-4176-a186-9f1732938260
Flag.contained[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag
Flag.contained[0].target[0].reference[0]#
Flag.contained[0].recorded[0]2024-01-01T11:00:00+00:00
Flag.contained[0].activity[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-DataOperation
Flag.contained[0].activity[0].coding[0].code[0]CREATE
Flag.contained[0].activity[0].coding[0].display[0]create
Flag.contained[0].agent[0].role[0].coding[0].system[0]https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1
Flag.contained[0].agent[0].role[0].coding[0].code[0]R0260
Flag.contained[0].agent[0].role[0].coding[0].display[0]General Medical Practitioner
Flag.contained[0].agent[0].who[0].reference[0]https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9
Flag.contained[0].agent[0].onBehalfOf[0].reference[0]https://directory.spineservices.nhs.uk/Organization/a3e5i7
Flag.extension[0].url[0]https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes
Flag.extension[0].value[0].text[0]Example of flag notes extension text in patient flag
Flag.extension[1].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Flag.extension[1].value[0].reference[0]Condition/RA-Condition-Example
Flag.extension[1].value[0].type[0]Condition
Flag.extension[2].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Flag.extension[2].value[0].reference[0]Consent/RA-Consent-Example
Flag.extension[2].value[0].type[0]Consent
Flag.extension[3].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Flag.extension[3].value[0].reference[0]Flag/RA-Flag-Example
Flag.extension[3].value[0].type[0]Flag
Flag.status[0]active
Flag.code[0].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient
Flag.code[0].coding[0].code[0]national-reasonable-adjustment-flag
Flag.code[0].coding[0].display[0]National Reasonable Adjustments Flag
Flag.subject[0].reference[0]Patient/PatientFlag-AlanMann-Example

Tree View

Flag

XML View

<Flag xmlns="http://hl7.org/fhir">
    <id value="RA-PatientFlag-Example" />
    <meta>
        <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag" />
    </meta>
    <contained>
        <Provenance>
            <id value="c4e2e862-3bf4-4176-a186-9f1732938260" />
            <meta>
                <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag" />
            </meta>
            <target>
                <reference value="#" />
            </target>
            <recorded value="2024-01-01T11:00:00+00:00" />
            <activity>
                <coding>
                    <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                    <code value="CREATE" />
                    <display value="create" />
                </coding>
            </activity>
            <agent>
                <role>
                    <coding>
                        <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1" />
                        <code value="R0260" />
                        <display value="General Medical Practitioner" />
                    </coding>
                </role>
                <who>
                    <reference value="https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9" />
                </who>
                <onBehalfOf>
                    <reference value="https://directory.spineservices.nhs.uk/Organization/a3e5i7" />
                </onBehalfOf>
            </agent>
        </Provenance>
    </contained>
    <extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes">
        <valueAnnotation>
            <text value="Example of flag notes extension text in patient flag" />
        </valueAnnotation>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
        <valueReference>
            <reference value="Condition/RA-Condition-Example" />
            <type value="Condition" />
        </valueReference>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
        <valueReference>
            <reference value="Consent/RA-Consent-Example" />
            <type value="Consent" />
        </valueReference>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
        <valueReference>
            <reference value="Flag/RA-Flag-Example" />
            <type value="Flag" />
        </valueReference>
    </extension>
    <status value="active" />
    <code>
        <coding>
            <system value="https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient" />
            <code value="national-reasonable-adjustment-flag" />
            <display value="National Reasonable Adjustments Flag" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/PatientFlag-AlanMann-Example" />
    </subject>
</Flag>

JSON View

{
    "resourceType": "Flag",
    "id": "RA-PatientFlag-Example",
    "meta": {
        "profile":  [
            "https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag"
        ]
    },
    "contained":  [
        {
            "resourceType": "Provenance",
            "id": "c4e2e862-3bf4-4176-a186-9f1732938260",
            "meta": {
                "profile":  [
                    "https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag"
                ]
            },
            "target":  [
                {
                    "reference": "#"
                }
            ],
            "recorded": "2024-01-01T11:00:00+00:00",
            "activity": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                        "code": "CREATE",
                        "display": "create"
                    }
                ]
            },
            "agent":  [
                {
                    "role":  [
                        {
                            "coding":  [
                                {
                                    "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                                    "code": "R0260",
                                    "display": "General Medical Practitioner"
                                }
                            ]
                        }
                    ],
                    "who": {
                        "reference": "https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9"
                    },
                    "onBehalfOf": {
                        "reference": "https://directory.spineservices.nhs.uk/Organization/a3e5i7"
                    }
                }
            ]
        }
    ],
    "extension":  [
        {
            "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes",
            "valueAnnotation": {
                "text": "Example of flag notes extension text in patient flag"
            }
        },
        {
            "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
            "valueReference": {
                "reference": "Condition/RA-Condition-Example",
                "type": "Condition"
            }
        },
        {
            "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
            "valueReference": {
                "reference": "Consent/RA-Consent-Example",
                "type": "Consent"
            }
        },
        {
            "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
            "valueReference": {
                "reference": "Flag/RA-Flag-Example",
                "type": "Flag"
            }
        }
    ],
    "status": "active",
    "code": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient",
                "code": "national-reasonable-adjustment-flag",
                "display": "National Reasonable Adjustments Flag"
            }
        ]
    },
    "subject": {
        "reference": "Patient/PatientFlag-AlanMann-Example"
    }
}