Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Examples of the messages sent between a “referring” facility and a “referral” lab.

...

If present, this will be used to determine the sample type if the loinc code matches multiple sample types

Code Block
{


"resourceType": "Specimen",


"id": "6f93831a-8745-4105-9f2a-0140bc27469f",


"meta": {


"versionId": "2",


"lastUpdated": "2021-05-17T23:54:55.845+00:00",


"source": "#aSxblsC7BShvZNCU"


},


"identifier": [ {


"system": "http://openelis-global.org/sampleItem_uuid",


"value": "6f93831a-8745-4105-9f2a-0140bc27469f"


} ],


"accessionIdentifier": {


"system": "http://openelis-global.org/sampleItem_labNo",


"value": "20210000000000090-1"


},


"status": "available",


"type": {


"coding": [ {

...



 "system":[ "http://openelis-global.org/sampleType"](http://openelis-global.org/sampleType),

 "code": "Fluid",

 "display": "Fluid"

...



} ]


},


"subject": {


"reference": "Patient/329f09da-0fc9-419d-9575-ace689544269"


},


"receivedTime": "2021-05-17T16:52:49-07:00",


"request": [ {


"reference": "ServiceRequest/6207a536-68ed-4b5d-828d-79f4c046af75"


} ]


}

Created By Referral Lab

...

Task:

Used solely internally by the referring lab

Code Block
{

...



"resourceType": "Task",

...



"id": "88e75067-a145-4090-99f4-d05a3eba5ea5",

...



"meta": {

...



"versionId": "1",

...



"lastUpdated": "2021-05-18T00:08:14.720+00:00",

...



"source": "#Cingez3Fyi6zrkKz"

...



},

...



"identifier": [ {

...



"system": "http://openelis-global.org/order_uuid",

...



"value": "88e75067-a145-4090-99f4-d05a3eba5ea5"

...



} ],

...



"basedOn": [ {

...



"reference": "ServiceRequest/f4d7feef-c5f6-4222-8d90-dc763cedbbd0"

...



} ],

...



"partOf": [ {

...



"reference": "Task/b3ac906b-0a38-405c-8fb9-11d6313f26c7"

...



} ],

...



"status": "completed",

...



"intent": "order",

...



"priority": "routine",

...



"for": {

...



"reference": "Patient/b8245643-403f-4ef1-945c-0f1f0d39d9e7"

...



},

...



"authoredOn": "2021-05-17T00:00:00-07:00"

...



}

ServiceRequest:

Based on the referred service request, used to link the observation and diagnostic report

Code Block
{

...



"resourceType": "ServiceRequest",

...



"id": "f4d7feef-c5f6-4222-8d90-dc763cedbbd0",

...



"meta": {

...



"versionId": "2",

...



"lastUpdated": "2021-05-18T00:08:14.959+00:00",

...



"source": "#zM0ddL5giip3iEtT"

...



},

...



"identifier": [ {

...



"system": "http://openelis-global.org/analysis_uuid",

...



"value": "f4d7feef-c5f6-4222-8d90-dc763cedbbd0"

...



} ],

...



"basedOn": [ {

...



"reference": "ServiceRequest/6207a536-68ed-4b5d-828d-79f4c046af75"

...



} ],

...



"requisition": {

...



"system": "http://openelis-global.org/samp_labNo",

...



"value": "reflb210000000000107"

...



},

...



"status": "completed",

...



"intent": "order",

...



"priority": "routine",

...



"code": {

...



"coding": [ {

...



"system": "http://loinc.org",

...



"code": "94500-6",

...



"display": "COVID-19 PCR"

...



} ]

...



},

...



"subject": {

...



"reference": "Patient/b8245643-403f-4ef1-945c-0f1f0d39d9e7"

...



},

...



"authoredOn": "2021-05-17T17:04:17-07:00",

...



"specimen": [ {

...



"reference": "Specimen/ebdc7dd2-08d0-45d0-95ab-43d0fe30860a"

...



} ]

...



}

DiagnosticReport:

Code Block
{

...



"resourceType": "DiagnosticReport",

...



"id": "3ac214f9-19cb-4d52-a0d4-5c4db53842be",

...



"meta": {

...



"versionId": "1",

...



"lastUpdated": "2021-05-18T00:12:55.509+00:00",

...



"source": "#O6wVL2zh3N9y62fG"

...



},

...



"text": {

...



"status": "generated",

...



"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\ "><div class=\"hapiHeaderText\"/><table class=\"hapiPropertyTable\"><tbody><tr><td>Status</td><td>PRELIMINARY</td></tr></tbody></table><table class=\"hapiTableOfValues\"><thead><tr><td>Name</td><td>Value</td><td>Interpretation</td><td>Reference Range</td><td>Status</td></tr></thead><tbody><tr class=\"hapiTableOfValuesRowOdd\"><td/><td>SARS-COV-2 RNA NOT DETECTED</td><td/><td/><td>PRELIMINARY</td></tr></tbody></table></div>"

...



},

...



"identifier": [ {

...



"system": "http://openelis-global.org/analysisResult_uuid",

...



"value": "6207a536-68ed-4b5d-828d-79f4c046af75"

...



} ],

...



"basedOn": [ {

...



"reference": "ServiceRequest/6207a536-68ed-4b5d-828d-79f4c046af75"

...



} ],

...



"status": "preliminary",

...



"subject": {

...



"reference": "Patient/329f09da-0fc9-419d-9575-ace689544269"

...



},

...



"specimen": [ {

...



"reference": "Specimen/6f93831a-8745-4105-9f2a-0140bc27469f"

...



} ],

...



"result": [ {

...



"reference": "Observation/50ccf09a-962b-4219-9582-26d4c341dc27"

...



} ]

...



}

Observation:

Code Block
{

...



"resourceType": "Observation",

...



"id": "50ccf09a-962b-4219-9582-26d4c341dc27",

...



"meta": {

...



"versionId": "1",

...



"lastUpdated": "2021-05-17T23:54:55.710+00:00",

...



"source": "#ibQ8Gj5noiOawShQ"

...



},

...



"identifier": [ {

...



"system": "http://openelis-global.org/result_uuid",

...



"value": "50ccf09a-962b-4219-9582-26d4c341dc27"

...



} ],

...



"basedOn": [ {

...



"reference": "ServiceRequest/6207a536-68ed-4b5d-828d-79f4c046af75"

...



} ],

...



"status": "preliminary",

...



"subject": {

...



"reference": "Patient/329f09da-0fc9-419d-9575-ace689544269"

...



},

...



"valueString": "SARS-COV-2 RNA NOT DETECTED",

...



"specimen": {

...



"reference": "Specimen/6f93831a-8745-4105-9f2a-0140bc27469f"

...



}

...



}