Specialty Medication Enrollment
0.1.0 - STU1 Ballot

This page is part of the Specialty Medication Enrollment (v0.1.0: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Example Bundle: Specialty Rx Query Response 3 with operation outcome

Example data content

expand all | contract allBundle
id@value:  specialty-rx-query-response-3-w-op-outcome
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response
type@value:  message
timestamp@value:  2020-03-11T13:10:17-05:00entry[1]fullUrl@value:  http://example.org/MyEHR/MessageHeader/msgheader1
resource
id@value:  res2
eventCodingsystem@value:  http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-typecode@value:  query-response
sourcename@value:  MyEHRendpoint@value:  http://example.org/MyEHR
responseidentifier@value:  req2code@value:  ok
focusreference@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c

entry[2]fullUrl@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c
resource
id@value:  61ebe359-bfdc-4613-8bf2-c5e300945f0cparameter[1]name@value:  requester-patientvalueReferencereference@value:  Patient/patient1
parameter[2]name@value:  responder-patientvalueReferencereference@value:  Patient/patientEHR
parameter[3]name@value:  search-resultvalueReferencereference@value:  Bundle/3456789
parameter[4]name@value:  search-resultvalueReferencereference@value:  Bundle/987654

entry[3]fullUrl@value:  http://example.org/MyPharmacyApp/Patient/patient1
resource
id@value:  patient1
metasource@value:  http://example.org/MyPharmacyAppprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient
identifiersystem@value:  http://example.org/patient-idvalue@value:  1234
active@value:  true
namefamily@value:  Doegiven[1]@value:  Timothygiven[2]@value:  V.telecom[1]system@value:  phonevalue@value:  555-555-5555use@value:  home
telecom[2]system@value:  emailvalue@value:  tim.doe@example.com
gender@value:  male
birthDate@value:  1987-02-20
addressline@value:  2224 Century Avecity@value:  Minnetonkastate@value:  MNpostalCode@value:  55345country@value:  US
communicationlanguagecodingsystem@value:  urn:ietf:bcp:47code@value:  en-USdisplay@value:  English (Region=United States)

entry[4]fullUrl@value:  http://example.org/MyEHR/Patient/patientEHR
resource
id@value:  patientEHR
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient
identifiertypecodingsystem@value:  http://terminology.hl7.org/CodeSystem/v2-0203code@value:  PIdisplay@value:  Patient internal identifier
text@value:  Patient internal identifier
system@value:  http://example.org/MyEHRvalue@value:  30455
active@value:  true
namefamily@value:  Doegiven@value:  Timtelecom[1]system@value:  phonevalue@value:  555-555-5555use@value:  home
telecom[2]system@value:  emailvalue@value:  tim.doe@example.com
gender@value:  male
birthDate@value:  1987-02-20
addressline@value:  2224 Century Avenuecity@value:  Minnetonkastate@value:  MNpostalCode@value:  55345country@value:  US
communicationlanguagecodingsystem@value:  urn:ietf:bcp:47code@value:  en-USdisplay@value:  English (Region=United States)

entry[5]fullUrl@value:  http://example.org/MyEHR/Bundle/3456789
resource
id@value:  3456789
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
timestamp@value:  2020-03-11T13:10:17-05:00
total@value:  3
linkrelation@value:  selfurl@value:  Condition?patient=patientEHRentry[1]fullUrl@value:  http://example.org/MyEHR/Condition/1
resource
id@value:  1
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  13644009display@value:  Hypercholesterolemia (disorder)
text@value:  Hypercholesterolemia (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match
entry[2]fullUrl@value:  http://example.org/MyEHR/Condition/2
resource
id@value:  2
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  84172003display@value:  Spondylitis (disorder)
text@value:  Spondylitis (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match
entry[3]fullUrl@value:  http://example.org/MyEHR/Condition/3
resource
id@value:  3
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  427603009display@value:  Intermittent asthma (disorder)
text@value:  Intermittent asthma (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match

entry[6]fullUrl@value:  http://example.org/MyEHR/Bundle/987654
resource
id@value:  987654
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
timestamp@value:  2020-03-11T13:10:17-05:00
total@value:  0
linkrelation@value:  selfurl@value:  AllergyIn?patient=patientEHR
entryfullUrl@value:  http://example.org/MyEHR/OperationOutcome/100
resource
id@value:  100
issueseverity@value:  errorcode@value:  processingdiagnostics@valueUnknown resource type 'AllergyIn' - Server knows how to handle: [RiskAssessment, Provenance, Organization, CareTeam, MedicationDispense, DiagnosticReport, ImagingStudy, HealthcareService, Specimen, CarePlan, FamilyMemberHistory, Goal, AllergyIntolerance, StructureDefinition, Medication, Procedure, Encounter, OperationDefinition, DocumentReference, Condition, MedicationRequest, Immunization, Device, Patient, PractitionerRole, ServiceRequest, Practitioner, Observation, MedicationAdministration, MedicationStatement, Location]

searchmode@value:  outcome

Generated Narrative

Bundle specialty-rx-query-response-3-w-op-outcome of type message


Entry 1 - Full URL = http://example.org/MyEHR/MessageHeader/msgheader1

Resource MessageHeader:

Generated Narrative

Texts

-
*

event: Query Response

Sources

-NameEndpoint
*MyEHRhttp://example.org/MyEHR

Responses

-IdentifierCode
*req2OK

focus: Generated Summary: type: message; timestamp: Mar 11, 2020 6:10:17 PM


Entry 2 - Full URL = urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c

Resource Parameters:

Parameters

requester-patientPatient/patient1
responder-patientPatient/patientEHR
search-resultBundle/3456789
search-resultBundle/987654

Entry 3 - Full URL = http://example.org/MyPharmacyApp/Patient/patient1

Resource Patient:

Timothy V. Doe Male 1987-02-20 ( id: 1234)

Entry 4 - Full URL = http://example.org/MyEHR/Patient/patientEHR

Resource Patient:

Tim Doe Male 1987-02-20 ( Patient internal identifier: 30455)

Entry 5 - Full URL = http://example.org/MyEHR/Bundle/3456789

Resource Bundle:

Bundle 3456789 of type searchset


Entry 1 - Full URL = http://example.org/MyEHR/Condition/1

Search:mode = match

Resource Condition:

Generated Narrative

Texts

-
*

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Hypercholesterolemia (disorder)

subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM


Entry 2 - Full URL = http://example.org/MyEHR/Condition/2

Search:mode = match

Resource Condition:

Generated Narrative

Texts

-
*

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Spondylitis (disorder)

subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM


Entry 3 - Full URL = http://example.org/MyEHR/Condition/3

Search:mode = match

Resource Condition:

Generated Narrative

Texts

-
*

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Intermittent asthma (disorder)

subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM


Entry 6 - Full URL = http://example.org/MyEHR/Bundle/987654

Resource Bundle:

Bundle 987654 of type searchset


Entry 1 - Full URL = http://example.org/MyEHR/OperationOutcome/100

Search:mode = outcome

Resource OperationOutcome:

SeverityLocationCodeDetailsDiagnostics
ERRORProcessing FailureUnknown resource type 'AllergyIn' - Server knows how to handle: [RiskAssessment, Provenance, Organization, CareTeam, MedicationDispense, DiagnosticReport, ImagingStudy, HealthcareService, Specimen, CarePlan, FamilyMemberHistory, Goal, AllergyIntolerance, StructureDefinition, Medication, Procedure, Encounter, OperationDefinition, DocumentReference, Condition, MedicationRequest, Immunization, Device, Patient, PractitionerRole, ServiceRequest, Practitioner, Observation, MedicationAdministration, MedicationStatement, Location]