Submitting Data
Submission API
Url:
<HOST>/adverse-event/fhir/AdverseEventWrite only API
Used to submit patient safety events.
Submission requests must be built using properties of the taxonomy, and following the structure of sample requests provided by the LFPSE team.
In version 5 the taxonomy API doesn’t outline how submission requests are to be structured.
Sample requests
The LFPSE team have provided JSON files of sample submission requests.
These are attached below
Outcomes
Example Outcome submission 1
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 18600
},
{
"url": "Gender",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "y"
},
{
"url": "Organisation",
"valueCode": "Z01"
},
{
"url": "ServiceArea",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "OutcomeType",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-outcome-5"
},
{
"extension": [
{
"url": "PatientSafetyIncidentHasOccurred",
"valueCode": "n"
},
{
"url": "LevelOfConcern",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "n"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "2"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-15",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "Ambulatory pt came to ED Thursday PM with chest pains and dizziness. Tests and bloods normal, and feeling better, so safety netted and sent home early hours Friday. Friday PM pt's wife called ambulance due to chest pains and difficulty breathing. Pt admitted for further tests and obs - awaiting results now. Have reviewed notes from Friday and not apparent that anything important was missed on first attendance but recording here as an unplanned reattendance."
}
Example Outcome submission 2
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 14880
},
{
"url": "Gender",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "n"
},
{
"url": "OrganisationOther",
"valueString": "home"
},
{
"url": "ServiceArea",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "OutcomeType",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-outcome-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "n"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
},
{
"extension": [
{
"url": "LevelOfConcern",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "2"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-15",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "I heard from a patient’s family member that a former MH service user, since discharged, has died in the community. Pt was no longer under our care but had been within the last 4 months. No further detail yet - I will see if I can find out any more; logging here for follow-up in the meantime."
}
Incidents
Example Incident submission 1
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 10044
},
{
"url": "Gender",
"valueCode": "1"
},
{
"url": "PatientEthnicity",
"valueCode": "11"
},
{
"url": "PhysicalHarm",
"valueCode": "3"
},
{
"url": "PsychologicalHarm",
"valueCode": "2"
},
{
"url": "ClinicalOutcome",
"valueString": "admitted to acute services"
},
{
"url": "StrengthOfAssociation",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "6"
},
{
"url": "ReporterInvolvement",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "y"
},
{
"url": "Organisation",
"valueCode": "Z01"
},
{
"url": "LocationWithinService",
"valueCode": "2"
},
{
"url": "ServiceArea",
"valueCode": "17"
},
{
"url": "ServiceArea",
"valueCode": "18"
},
{
"url": "ServiceArea",
"valueCode": "3"
},
{
"url": "ResponsibleSpecialty",
"valueCode": "105"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
},
{
"resourceType": "Medication",
"id": "medication1",
"extension": [
{
"extension": [
{
"url": "MedicationAdministration",
"valueCode": "n"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/medication-administration-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "InvolvedAgents",
"valueCode": "4"
},
{
"url": "DrugsInvolved",
"valueString": "risperidone"
},
{
"url": "DrugsInvolved",
"valueString": "Ropinirole"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-agent-5"
},
{
"extension": [
{
"url": "SafetyChallenges",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-safety-challenges-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "y"
},
{
"url": "TodaysDate",
"valueDate": "2021-08-17"
},
{
"url": "EstimatedTime",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "DutyOfCandour",
"valueBoolean": true
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-governance-5"
},
{
"extension": [
{
"url": "LevelOfConcern",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
},
{
"extension": [
{
"url": "InvolvedProcesses",
"valueCode": "3"
},
{
"url": "DrugReaction",
"valueCode": "4"
},
{
"url": "DrugInvolvementFactors",
"valueCode": "3"
},
{
"url": "MedicationAdministeredIncorrectly",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-problem-medication-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
},
{
"extension": [
{
"url": "ImmediateActions",
"valueString": "GP attended, medication withdrawn, admitted for obs"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-outcome-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "1"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-17",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "Prescription dispensed on [date]. Patient took first dose on [date – one week later] of risperidone which had been dispensed in error. Ropinirole should have been dispensed. After the second dose the patient felt unwell and went to bed. The patient’s partner contacted the surgery out of hours and was directed by NHS Direct. A doctor was sent to the patient’s home and an ambulance called at 10:15. Patient was admitted at 10:45.",
"suspectEntity": [
{
"instance": {
"reference": "#medication1"
}
}
]
}
Example Incident submission 2
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 10044
},
{
"url": "Gender",
"valueCode": "2"
},
{
"url": "PatientEthnicity",
"valueCode": "11"
},
{
"url": "PhysicalHarm",
"valueCode": "2"
},
{
"url": "PsychologicalHarm",
"valueCode": "3"
},
{
"url": "ClinicalOutcome",
"valueString": "x-rayed and fork extracted by scope; discharged"
},
{
"url": "StrengthOfAssociation",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
},
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 2
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 10788
},
{
"url": "Gender",
"valueCode": "2"
},
{
"url": "PatientEthnicity",
"valueCode": "12"
},
{
"url": "PhysicalHarm",
"valueCode": "3"
},
{
"url": "PsychologicalHarm",
"valueCode": "2"
},
{
"url": "ClinicalOutcome",
"valueString": "TBC"
},
{
"url": "StrengthOfAssociation",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "3"
},
{
"url": "ReporterInvolvement",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "y"
},
{
"url": "Organisation",
"valueCode": "Z01"
},
{
"url": "LocationWithinService",
"valueCode": "10"
},
{
"url": "ServiceArea",
"valueCode": "4"
},
{
"url": "ResponsibleSpecialty",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "InvolvedAgents",
"valueCode": "10"
},
{
"url": "InvolvedPersonsActions",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-agent-5"
},
{
"extension": [
{
"url": "SafetyChallenges",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-safety-challenges-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "y"
},
{
"url": "TodaysDate",
"valueDate": "2021-08-17"
},
{
"url": "PreciseTime",
"valueTime": "12:00:00"
},
{
"url": "EstimatedTime",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "DutyOfCandour",
"valueBoolean": true
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-governance-5"
},
{
"extension": [
{
"url": "LevelOfConcern",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
},
{
"extension": [
{
"url": "PeopleActionFactors",
"valueCode": "3"
},
{
"url": "PeopleWrongActionDetails",
"valueCode": "1"
},
{
"url": "PeopleInvolvementFactors",
"valueCode": "2"
},
{
"url": "PeopleUnavailableDetails",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-problem-people-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
},
{
"extension": [
{
"url": "WentWell",
"valueString": "more staff on deck at meal times"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-outcome-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "1"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-17",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "Patient 1 was eating lunch, and deliberately swallowed a plastic fork. Patient 2 witnessed this and became agitated, and Patient 1 then attacked Pt 2. Staff were alerted and restrained Pt1, who was removed for assessment and taken to A&E. Pt 2 sustained minor injuries but was very upset."
}
Example Incident submission 3
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 20832
},
{
"url": "Gender",
"valueCode": "2"
},
{
"url": "PatientEthnicity",
"valueCode": "21"
},
{
"url": "PhysicalHarm",
"valueCode": "1"
},
{
"url": "ClinicalOutcome",
"valueString": "sadly died"
},
{
"url": "StrengthOfAssociation",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "2"
},
{
"url": "ReporterInvolvement",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "y"
},
{
"url": "Organisation",
"valueCode": "Z01"
},
{
"url": "LocationWithinService",
"valueCode": "6"
},
{
"url": "ServiceArea",
"valueCode": "1"
},
{
"url": "ServiceArea",
"valueCode": "3"
},
{
"url": "ResponsibleSpecialty",
"valueCode": "105"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
},
{
"resourceType": "Device",
"id": "device1",
"extension": [
{
"extension": [
{
"url": "DeviceTypeOther",
"valueString": "O2 flowmeter"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-device-details-5"
}
]
},
{
"resourceType": "Medication",
"id": "medication1",
"extension": [
{
"extension": [
{
"url": "MedicationAdministration",
"valueCode": "n"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/medication-administration-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "InvolvedAgents",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-agent-5"
},
{
"extension": [
{
"url": "SafetyChallenges",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-safety-challenges-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "y"
},
{
"url": "TodaysDate",
"valueDate": "2021-08-17"
},
{
"url": "EstimatedTime",
"valueCode": "5"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "LevelOfConcern",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
},
{
"extension": [
{
"url": "DrugReaction",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-problem-medication-5"
},
{
"extension": [
{
"url": "DeviceInvolvementFactors",
"valueCode": "3"
},
{
"url": "DeviceWrongUsageDetails",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-problem-devices-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "1"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-17",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "A [AGE] male patient arrived in the Accident and Emergency department on the [DATE AND TIME] following an out of hospital cardiac arrest. [REDACTED DETAIL THAT COULD IDENTIFY PATIENT AND STAFF MEMBERS]. On assessment it was identified that the BVM was attached to the air flow meter therefore immediately removed and connected to the o2 flowmeter. The patients saturations increased and the resus team continued with treatment. The patient was stabilised, transferred to [HOSPITAL] but sadly died on the [DATE] The medical opinion is that the short time on air instead of O2 did not contribute to the outcome.",
"suspectEntity": [
{
"instance": {
"reference": "#device1"
}
},
{
"instance": {
"reference": "#medication1"
}
}
]
}
Example Incident submission 4
{
"resourceType": "AdverseEvent",
"meta": {
"profile": [
"https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-safety-adverse-event-5"
]
},
"contained": [
{
"resourceType": "Patient",
"id": "patient1",
"extension": [
{
"extension": [
{
"url": "PatientSequence",
"valueInteger": 1
},
{
"url": "AgeAtTimeOfIncidentDays",
"valueInteger": 18600
},
{
"url": "Gender",
"valueCode": "1"
},
{
"url": "PatientEthnicity",
"valueCode": "11"
},
{
"url": "PhysicalHarm",
"valueCode": "2"
},
{
"url": "PsychologicalHarm",
"valueCode": "3"
},
{
"url": "ClinicalOutcome",
"valueString": "Test case for blood related incident"
},
{
"url": "StrengthOfAssociation",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/patient-information-5"
}
]
},
{
"resourceType": "Practitioner",
"id": "practitioner1",
"extension": [
{
"extension": [
{
"url": "ReporterOrganisation",
"valueCode": "Z01"
},
{
"url": "ReporterType",
"valueCode": "3"
},
{
"url": "ReporterRole",
"valueCode": "5"
},
{
"url": "ReporterInvolvement",
"valueCode": "1"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/practitioner-details-5"
}
]
},
{
"resourceType": "Location",
"id": "location1",
"extension": [
{
"extension": [
{
"url": "LocationKnown",
"valueCode": "y"
},
{
"url": "Organisation",
"valueCode": "Z01"
},
{
"url": "LocationWithinService",
"valueCode": "4"
},
{
"url": "ServiceArea",
"valueCode": "1"
},
{
"url": "ResponsibleSpecialty",
"valueCode": "42"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/location-details-5"
}
]
}
],
"extension": [
{
"extension": [
{
"url": "InvolvedAgents",
"valueCode": "11"
},
{
"url": "SabreReportNumber",
"valueString": "1234"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-agent-5"
},
{
"extension": [
{
"url": "SafetyChallenges",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-safety-challenges-5"
},
{
"extension": [
{
"url": "IncidentOccurredToday",
"valueCode": "y"
},
{
"url": "TodaysDate",
"valueDate": "2021-08-19"
},
{
"url": "PreciseTime",
"valueTime": "10:00:00"
},
{
"url": "EstimatedTime",
"valueCode": "6"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-estimated-date-5"
},
{
"extension": [
{
"url": "DutyOfCandour",
"valueBoolean": true
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-governance-5"
},
{
"extension": [
{
"url": "LevelOfConcern",
"valueCode": "3"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-classification-5"
},
{
"extension": [
{
"url": "BloodInvolved",
"valueCode": "1"
},
{
"url": "TooMuchBloodUsed",
"valueCode": "2"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-problem-blood-5"
},
{
"extension": [
{
"url": "DetectionPoint",
"valueCode": "4"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/detection-factors-5"
},
{
"extension": [
{
"url": "WentWell",
"valueString": "Test case"
}
],
"url": "https://psims-uat.azure-api.net/taxonomy/fhir/StructureDefinition/adverse-event-outcome-5"
}
],
"category": "AE",
"type": {
"coding": [
{
"code": "1"
}
]
},
"subject": {
"reference": "#patient1"
},
"date": "2021-08-19",
"location": {
"reference": "#location1"
},
"recorder": {
"reference": "#practitioner1"
},
"description": "Test case for blood related incident"
}