Validator
LOG IN
SIGN UP
Scope
package:hl7.fhir.r4.core@4.0.1
Readonly
If you
Log in
or
sign up
, you can edit this script yourself.
<Bundle xmlns="http://hl7.org/fhir"> <id value="bcb694ae-2b9e-4838-86a6-e174c67a382e"/> <meta> <lastUpdated value="2026-02-19T13:12:10Z"/> </meta> <type value="transaction"/> <entry> <fullUrl value="urn:uuid:7fc20a7a-a2d4-4abd-8de5-0013c7332334"/> <resource> <Encounter> <!-- the encounter identifier - as supplied by the submitting care setting --> <identifier> <system value="https://fhir.nhs.uk/Id/local-encounter-identifier"/> <value value="EncounterReference"/> <!-- we probably need the assigner as the org who issued the identifier --> <assigner> <identifier> <system value="https://fhir.nhs.uk/Id/ods-organization-code"/> <value value="4ABC"/> </identifier> </assigner> </identifier> <!-- fix this to "finished" --> <status value="finished"/> <!-- fix this to "EMERG" --> <class> <code value="EMERG"/> </class> <!-- the NHS Number --> <subject> <identifier> <system value="https://fhir.nhs.uk/Id/nhs-number"/> <value value="7659830959"/> </identifier> </subject> <!-- the performing professional --> <participant> <!-- fix the type to "performer" --> <type> <coding> <code value="performer"/> </coding> </type> <!-- link to the PractitionerRole resource for the Practitioner details --> <individual> <reference value="urn:uuid:822b6209-8bc2-4b0e-9a4a-051345cf916d"/> </individual> </participant> <!-- use this as the access to record date --> <period> <start value="2026-02-19T13:04:56Z"/> </period> <!-- name of the location where encounter took place --> <location> <location> <display value="THE WARD OF THE HOSPITAL"/> </location> </location> <!-- organisation where the encounter took place --> <serviceProvider> <identifier> <system value="https://fhir.nhs.uk/Id/ods-organization-code"/> <value value="4ABC"/> </identifier> <!-- use display to hold the organization name --> <display value="THE ORGANIZATION NAME"/> </serviceProvider> </Encounter> </resource> <request> <method value="POST"/> <url value="Encounter"/> </request> </entry> <entry> <fullUrl value="urn:uuid:822b6209-8bc2-4b0e-9a4a-051345cf916d"/> <resource> <PractitionerRole> <!-- is it OK to have to Practitioner name as a string? --> <practitioner> <display value="DR Ian FORCETT"/> </practitioner> <!-- role of practitioner --> <code> <coding> <system value="https://fhir.nhs.uk/England/CodeSystem/England-SDSJobRoleName"/> <code value="R0070"/> <display value="Associate Specialist"/> </coding> </code> <!-- pratitioer conatct details --> <telecom> <system value="phone"/> <value value="02765757657"/> </telecom> <telecom> <system value="email"/> <value value="ian@THETRUST.com"/> </telecom> </PractitionerRole> </resource> <request> <method value="POST"/> <url value="PractitionerRole"/> </request> </entry> <entry> <fullUrl value="urn:uuid:abc52bd0-c853-4161-9936-6cd004b8a7d1"/> <resource> <CareTeam> <!-- CareTeam type do we have a list of care team types? --> <category> <coding> <code value="ED Care Team"/> </coding> </category> <!-- name of care team --> <name value="THE TRUST care team"/> <!-- link back to encounter --> <encounter> <reference value="urn:uuid:7fc20a7a-a2d4-4abd-8de5-0013c7332334"/> </encounter> <!-- care team contact details --> <telecom> <system value="phone"/> <value value="02765756787"/> </telecom> <telecom> <system value="email"/> <value value="edcareteam@THETRUST.com"/> </telecom> <!-- context hours --> <note> <text value="9am to 6pm monday to saturday"/> </note> </CareTeam> </resource> <request> <method value="POST"/> <url value="CareTeam"/> </request> </entry> </Bundle>