Encounter-Outpatient

{
    "resourceType": "Encounter",
    "id": "NCR-EncounterExample-Outpatient",
    "meta": {
        "profile":  [
            "https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-Encounter",
            "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
        ]
    },
    "extension":  [
        {
            "url": "https://fhir.yhcr.nhs.uk/StructureDefinition/Extension-Interweave-R4EncounterServiceType",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "23871000087101",
                        "display": "Adult dermatology service"
                    }
                ]
            }
        },
        {
            "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-OutcomeOfAttendance-1",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-OutcomeOfAttendance-1",
                        "code": "2",
                        "display": "Another Appointment given"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "system": "http://fhir.nuh.nhs.uk/encounter/identifier",
            "value": "I2200712345S"
        }
    ],
    "status": "finished",
    "statusHistory":  [
        {
            "status": "finished",
            "period": {
                "start": "2022-09-25"
            }
        }
    ],
    "class": {
        "system": "http://hl7.org/fhir/v3/ActCode",
        "code": "AMB",
        "display": "ambulatory"
    },
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "308021002",
                    "display": "Seen in clinic"
                }
            ]
        }
    ],
    "priority": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/v3/ActPriority",
                "code": "EL",
                "display": "elective"
            }
        ]
    },
    "subject": {
        "reference": "Patient/9690937286",
        "display": "Mr Horace SKELLY"
    },
    "participant":  [
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/v3/ParticipationType",
                            "code": "PPRF",
                            "display": "primary performer"
                        }
                    ]
                }
            ],
            "individual": {
                "reference": "Practitioner/NCR-PractitionerExample-Acute01",
                "display": "Dr Pat CLIFTON"
            }
        }
    ],
    "period": {
        "start": "2022-09-09T16:05:00Z",
        "end": "2022-09-09T16:20:00Z"
    },
    "reason":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "40274000",
                    "display": "General outpatient clinic admission"
                }
            ]
        }
    ],
    "location":  [
        {
            "location": {
                "reference": "Location/NCR-LocationExampleDept",
                "display": "Queens Medical Centre: South Block: B Floor: Dermatology Clinic"
            },
            "status": "completed",
            "period": {
                "start": "2022-09-09",
                "end": "2022-09-09"
            }
        }
    ]
}