This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "CDS Hooks Interface for Hacking Health Brisbane 2017 Track 6"

From HL7Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 23: Line 23:
  
 
There's an implementation at http://test.fhir.org/r3/cds-services/hacking-health. All that implementation does is return a card that describes technical issues with the submission from the EHR.
 
There's an implementation at http://test.fhir.org/r3/cds-services/hacking-health. All that implementation does is return a card that describes technical issues with the submission from the EHR.
 +
 +
We decided that the cds-hook 'context' element should be an array for - the cds-hooks specification is somewhat unclear.
  
 
== Example ==
 
== Example ==
  
 
+
  <nowiki>
  {<nowiki>
+
{
   "hookInstance": "b18905aa-3e49-42e0-8d07-b757b3431a78",
+
   "hookInstance": "679951bb-4386-4236-8fa6-b816572ce46b",
 
   "hook": "order-review",
 
   "hook": "order-review",
   "fhirServer": "https://localhost.oridashi.com.au:8102",
+
   "user": "Practitioner/1",
   "redirect": "https://localhost.oridashi.com.au:8102",
+
   "patient": "8",
   "user": "2",
+
   "encounter": "1-862",
  "patient": "23",
 
 
   "context": [
 
   "context": [
 
     {
 
     {
 
       "resourceType": "ProcedureRequest",
 
       "resourceType": "ProcedureRequest",
       "id": "45-7D396A146D1FD03A92F7230356FACDE6",
+
       "id": "29-82A52E1D203A00A77D4B222E4630B023",
 
       "meta": {
 
       "meta": {
         "versionId": "20170711021134",
+
         "versionId": "20170803141836",
         "lastUpdated": "2017-07-11T12:11:34.473+10:00"
+
         "lastUpdated": "2017-08-04T00:18:36+10:00"
 
       },
 
       },
 
       "text": {
 
       "text": {
 
         "status": "generated",
 
         "status": "generated",
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-07-11 B-HCG (QUANTITATIVE)</p></div>"
+
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-08-04 ESR</p></div>"
 
       },
 
       },
 
       "status": "active",
 
       "status": "active",
 
       "code": {
 
       "code": {
         "text": "B-HCG (QUANTITATIVE)"
+
         "text": "ESR"
 
       },
 
       },
 
       "subject": {
 
       "subject": {
         "reference": "Patient/23"
+
         "reference": "Patient/8"
 
       },
 
       },
       "occurrenceDateTime": "2017-07-11"
+
      "context": {
 +
        "reference": "Encounter/1-862"
 +
      },
 +
       "occurrenceDateTime": "2017-08-04"
 
     },
 
     },
 
     {
 
     {
 
       "resourceType": "ProcedureRequest",
 
       "resourceType": "ProcedureRequest",
       "id": "45-9FC347A75ABE32AFAF65EB15792561DE",
+
       "id": "29-39F275FBA712869CF8D656D72CEFE1C5",
 
       "meta": {
 
       "meta": {
         "versionId": "20170711021134",
+
         "versionId": "20170803141836",
         "lastUpdated": "2017-07-11T12:11:34.473+10:00"
+
         "lastUpdated": "2017-08-04T00:18:36+10:00"
 
       },
 
       },
 
       "text": {
 
       "text": {
 
         "status": "generated",
 
         "status": "generated",
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-07-11 B12</p></div>"
+
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-08-04 FBC</p></div>"
 
       },
 
       },
 
       "status": "active",
 
       "status": "active",
 
       "code": {
 
       "code": {
         "text": "B12"
+
         "text": "FBC"
 
       },
 
       },
 
       "subject": {
 
       "subject": {
         "reference": "Patient/23"
+
         "reference": "Patient/8"
 
       },
 
       },
       "occurrenceDateTime": "2017-07-11"
+
      "context": {
 +
        "reference": "Encounter/1-862"
 +
      },
 +
       "occurrenceDateTime": "2017-08-04"
 
     },
 
     },
 
     {
 
     {
 
       "resourceType": "ProcedureRequest",
 
       "resourceType": "ProcedureRequest",
       "id": "44-E0C0F0DA74A4ECB181463073C0B14DE0",
+
       "id": "11-33AF404896F87F96AB9D345FC1A68195",
 
       "meta": {
 
       "meta": {
         "versionId": "20170711020919",
+
         "versionId": "20040210130000",
         "lastUpdated": "2017-07-11T12:09:19.277+10:00"
+
         "lastUpdated": "2004-02-11T00:00:00+11:00"
 
       },
 
       },
 
       "text": {
 
       "text": {
 
         "status": "generated",
 
         "status": "generated",
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-07-11 AIDS SCREEN</p></div>"
+
         "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2003-10-20 Modified rast</p></div>"
 
       },
 
       },
 
       "status": "active",
 
       "status": "active",
 
       "code": {
 
       "code": {
         "text": "AIDS SCREEN"
+
         "text": "Modified rast"
 
       },
 
       },
 
       "subject": {
 
       "subject": {
         "reference": "Patient/23"
+
         "reference": "Patient/8"
      },
 
      "occurrenceDateTime": "2017-07-11"
 
    },
 
    {
 
      "resourceType": "ProcedureRequest",
 
      "id": "44-C33384F0A2A439F9F70B0FF63F5B30A3",
 
      "meta": {
 
        "versionId": "20170711020919",
 
        "lastUpdated": "2017-07-11T12:09:19.277+10:00"
 
      },
 
      "text": {
 
        "status": "generated",
 
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-07-11 FBE</p></div>"
 
      },
 
      "status": "active",
 
      "code": {
 
        "text": "FBE"
 
 
       },
 
       },
       "subject": {
+
       "context": {
         "reference": "Patient/23"
+
         "reference": "Encounter/1-862"
 
       },
 
       },
       "occurrenceDateTime": "2017-07-11"
+
       "occurrenceDateTime": "2003-10-20"
 
     }
 
     }
 
   ],
 
   ],
Line 123: Line 113:
 
       "resource": {
 
       "resource": {
 
         "resourceType": "Encounter",
 
         "resourceType": "Encounter",
         "id": "1-760",
+
         "id": "1-862",
 
         "meta": {
 
         "meta": {
           "lastUpdated": "2017-07-11T12:11:40+10:00"
+
           "lastUpdated": "2017-08-04T00:11:29+10:00"
 
         },
 
         },
 
         "text": {
 
         "text": {
 
           "status": "generated",
 
           "status": "generated",
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-07-11 12:06 : General Practitioner<pre>\r\nTuesday July 11 2017    12:06:46\r\nDr A Practitioner\r\nVisit type:\r\nSurgery Consultation\r\n\r\nActions:\r\nPathology requested: AIDS SCREEN;  FBE - \r\nPathology requested: B-HCG (QUANTITATIVE); B12 - \r\n</pre></p></div>"
+
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div>2017-08-04 00:11 : General Practitioner<pre>\r\n\r\nActions:\r\nRequest printed to Best Pathology Service: ESR; FBC.\r\n</pre></div></div>"
 
         },
 
         },
 
         "status": "in-progress",
 
         "status": "in-progress",
Line 144: Line 134:
 
         ],
 
         ],
 
         "subject": {
 
         "subject": {
           "reference": "Patient/23"
+
           "reference": "Patient/8"
 
         },
 
         },
 
         "participant": [
 
         "participant": [
Line 160: Line 150:
 
             ],
 
             ],
 
             "individual": {
 
             "individual": {
               "reference": "Practitioner/2"
+
               "reference": "Practitioner/1"
 
             }
 
             }
 
           }
 
           }
 
         ],
 
         ],
 
         "period": {
 
         "period": {
           "start": "2017-07-11T12:06:46+10:00"
+
           "start": "2017-08-04T00:11:29+10:00"
 
         }
 
         }
 
       }
 
       }
Line 175: Line 165:
 
       "resource": {
 
       "resource": {
 
         "resourceType": "Patient",
 
         "resourceType": "Patient",
         "id": "23",
+
         "id": "8",
 
         "meta": {
 
         "meta": {
           "lastUpdated": "2017-07-03T15:19:08+10:00"
+
           "lastUpdated": "2004-11-05T00:00:00+11:00"
 
         },
 
         },
 
         "text": {
 
         "text": {
 
           "status": "generated",
 
           "status": "generated",
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>ANDREWS,Maureen (Female 94y)</p></div>"
+
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Allen, Fay (Female 77y)</p></div>"
 
         },
 
         },
 
         "extension": [
 
         "extension": [
          {
 
            "url": "http://oridashi.com.au/fhir/Profile/patient-extensions#ethnicity",
 
            "valueCoding": {
 
              "system": "http://oridashi.com.au/system/abs/ethnicity",
 
              "code": "1104",
 
              "display": "Torres Strait Islander"
 
            }
 
          },
 
          {
 
            "url": "http://oridashi.com.au/fhir/Profile/patient-extensions#ethnicity",
 
            "valueCoding": {
 
              "system": "http://oridashi.com.au/system/abs/ethnicity",
 
              "code": "5100",
 
              "display": "Mainland South-East Asian"
 
            }
 
          },
 
          {
 
            "url": "http://oridashi.com.au/fhir/Profile/patient-extensions#ethnicity",
 
            "valueCoding": {
 
              "system": "http://oridashi.com.au/system/abs/ethnicity",
 
              "code": "1102",
 
              "display": "Australian Aboriginal"
 
            }
 
          },
 
 
           {
 
           {
 
             "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status",
 
             "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status",
 
             "valueCoding": {
 
             "valueCoding": {
 
               "system": "http://meteor.aihw.gov.au/content/index.phtml/itemId/602543#Codes",
 
               "system": "http://meteor.aihw.gov.au/content/index.phtml/itemId/602543#Codes",
               "code": "3",
+
               "code": "9",
               "display": "Both Aboriginal and Torres Strait Islander origin"
+
               "display": "Not stated/inadequately described"
 
             }
 
             }
 
           }
 
           }
Line 231: Line 197:
 
             },
 
             },
 
             "system": "http://ns.electronichealth.net.au/id/medicare-number",
 
             "system": "http://ns.electronichealth.net.au/id/medicare-number",
             "value": "22947241715"
+
             "value": "22345678911"
          },
 
          {
 
            "type": {
 
              "coding": [
 
                {
 
                  "system": "http://hl7.org/fhir/v2/0203",
 
                  "code": "PEN",
 
                  "display": "Pension Number"
 
                }
 
              ],
 
              "text": "Pensioner Number"
 
            },
 
            "system": "http://ns.electronichealth.net.au/id/customer-reference-number",
 
            "value": "561388922HL"
 
          },
 
          {
 
            "use": "usual",
 
            "type": {
 
              "coding": [
 
                {
 
                  "system": "http://hl7.org/fhir/v2/0203",
 
                  "code": "NI",
 
                  "display": "National unique individual identifier"
 
                }
 
              ],
 
              "text": "IHI"
 
            },
 
            "system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
 
            "value": "8003608233326545"
 
 
           },
 
           },
 
           {
 
           {
Line 274: Line 211:
 
               "text": "Health Fund Number"
 
               "text": "Health Fund Number"
 
             },
 
             },
             "value": "19473022SB",
+
             "value": "7861327",
 
             "assigner": {
 
             "assigner": {
               "display": "BUPA AUSTRALIA HEALTH PTY LTD"
+
               "display": "Medihealthy"
 
             }
 
             }
 
           }
 
           }
Line 284: Line 221:
 
           {
 
           {
 
             "use": "usual",
 
             "use": "usual",
             "family": "ANDREWS",
+
             "family": "Allen",
 
             "given": [
 
             "given": [
               "Maureen"
+
               "Fay",
 +
              "Ellen"
 
             ],
 
             ],
 
             "prefix": [
 
             "prefix": [
               "Mrs"
+
               "Mrs."
 
             ]
 
             ]
 
           },
 
           },
 
           {
 
           {
 
             "use": "nickname",
 
             "use": "nickname",
             "text": "Maureen"
+
             "text": "Fay"
 
           }
 
           }
 
         ],
 
         ],
Line 300: Line 238:
 
           {
 
           {
 
             "system": "phone",
 
             "system": "phone",
             "value": "12344321",
+
             "value": "0899905050",
            "use": "home"
 
          },
 
          {
 
            "system": "phone",
 
            "value": "33334444",
 
            "use": "work"
 
          },
 
          {
 
            "system": "phone",
 
            "value": "12343212",
 
            "use": "mobile",
 
            "rank": 1
 
          },
 
          {
 
            "system": "email",
 
            "value": "andrews.m@hcn.samplesdb.com.au",
 
 
             "use": "home"
 
             "use": "home"
 
           }
 
           }
 
         ],
 
         ],
 
         "gender": "female",
 
         "gender": "female",
         "birthDate": "1923-06-23",
+
         "birthDate": "1940-07-12",
 
         "deceasedBoolean": false,
 
         "deceasedBoolean": false,
 
         "address": [
 
         "address": [
 
           {
 
           {
             "extension": [
+
             "use": "home",
 +
            "type": "physical",
 +
            "line": [
 +
              "8 Grey St"
 +
            ],
 +
            "city": "Fremantle",
 +
            "state": "WA",
 +
            "postalCode": "6160"
 +
          }
 +
        ],
 +
        "contact": [
 +
          {
 +
            "relationship": [
 
               {
 
               {
                 "url": "http://hl7.org/fhir/StructureDefinition/iso21090-preferred",
+
                 "coding": [
                 "valueBoolean": true
+
                  {
 +
                    "system": "http://hl7.org/fhir/patient-contact-relationship",
 +
                    "code": "family",
 +
                    "display": "Family"
 +
                  }
 +
                ],
 +
                 "text": "Next of Kin"
 
               }
 
               }
 
             ],
 
             ],
             "use": "home",
+
             "name": {
            "type": "physical",
+
              "use": "usual",
             "line": [
+
              "family": "Allen",
               "314 Hope Street"
+
              "given": [
 +
                "Kenneth"
 +
              ],
 +
              "prefix": [
 +
                "Mr."
 +
              ]
 +
            },
 +
             "telecom": [
 +
               {
 +
                "system": "phone",
 +
                "value": "0899905050",
 +
                "use": "home"
 +
              }
 
             ],
 
             ],
             "city": "Bundaberg",
+
             "address": {
            "state": "QLD",
+
              "line": [
            "postalCode": "4670"
+
                "8 Grey St"
 +
              ],
 +
              "city": "Fremantle",
 +
              "postalCode": "6160"
 +
            }
 
           }
 
           }
 
         ],
 
         ],
Line 357: Line 313:
 
       "resource": {
 
       "resource": {
 
         "resourceType": "Bundle",
 
         "resourceType": "Bundle",
         "id": "423aff27-1d2a-41c6-9620-d1e0ecb0947b",
+
         "id": "e72c7adb-7665-40fa-8f04-f9e5dcaefb40",
 
         "meta": {
 
         "meta": {
           "versionId": "20170713234839",
+
           "versionId": "20170804010316",
           "lastUpdated": "2017-07-13T23:48:39.503+10:00"
+
           "lastUpdated": "2017-08-04T01:03:16.705+10:00"
 
         },
 
         },
 
         "type": "searchset",
 
         "type": "searchset",
         "total": 16,
+
         "total": 2,
 
         "link": [
 
         "link": [
 
           {
 
           {
 
             "relation": "self",
 
             "relation": "self",
             "url": "https://localhost.oridashi.com.au:8102/Condition?patient=23&_list=%24current-problems"
+
             "url": "https://localhost.oridashi.com.au:8109/Condition?patient=8&_list=%24current-problems"
 
           },
 
           },
 
           {
 
           {
 
             "relation": "last",
 
             "relation": "last",
             "url": "https://localhost.oridashi.com.au:8102/Condition?patient=23&_list=%24current-problems&_page=1&_snapshot=636355865194254397"
+
             "url": "https://localhost.oridashi.com.au:8109/Condition?patient=8&_list=%24current-problems&_page=1&_snapshot=636374053966930617"
 
           }
 
           }
 
         ],
 
         ],
 
         "entry": [
 
         "entry": [
 
           {
 
           {
             "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/145",
+
             "fullUrl": "https://localhost.oridashi.com.au:8109/Condition/143",
 
             "resource": {
 
             "resource": {
 
               "resourceType": "Condition",
 
               "resourceType": "Condition",
               "id": "145",
+
               "id": "143",
 
               "meta": {
 
               "meta": {
                 "versionId": "20170509013646",
+
                 "versionId": "20161027075650",
                 "lastUpdated": "2017-05-09T11:36:46.43+10:00",
+
                 "lastUpdated": "2016-10-27T18:56:50+11:00",
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-05-09 Diabetes Mellitus</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "diabm",
 
                    "display": "Diabetes Mellitus"
 
                  }
 
                ],
 
                "text": "Diabetes Mellitus"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2017-05-09",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/144",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "144",
 
              "meta": {
 
                "versionId": "20170504000145",
 
                "lastUpdated": "2017-05-04T10:01:45.153+10:00",
 
 
                 "security": [
 
                 "security": [
 
                   {
 
                   {
Line 448: Line 354:
 
               "text": {
 
               "text": {
 
                 "status": "generated",
 
                 "status": "generated",
                 "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-05-04 FREE TEXT TEST (inactive)</p></div>"
+
                 "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016-10-27 Cold, common</p></div>"
              },
 
              "clinicalStatus": "resolved",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "text": "FREE TEXT TEST"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2017-05-04",
 
              "abatementBoolean": true
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/140",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "140",
 
              "meta": {
 
                "versionId": "20170426041908",
 
                "lastUpdated": "2017-04-26T14:19:08.9+10:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  },
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
 
                    "code": "SUMMARY",
 
                    "display": "summary"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-04-06 Fracture - Elbow (Bilateral)</p></div>"
 
 
               },
 
               },
 
               "clinicalStatus": "active",
 
               "clinicalStatus": "active",
Line 514: Line 372:
 
                 "coding": [
 
                 "coding": [
 
                   {
 
                   {
                     "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
+
                     "system": "http://oridashi.com.au/system/code/bestpracticeterm",
                     "code": "frac.elbo",
+
                     "code": "648",
                     "display": "Fracture - Elbow"
+
                     "display": "Cold, common"
                  }
 
                ],
 
                "text": "Fracture - Elbow (Bilateral)"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2017-04-06",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/139",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "139",
 
              "meta": {
 
                "versionId": "20170403045948",
 
                "lastUpdated": "2017-04-03T14:59:48.403+10:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
 
                   },
 
                   },
 
                   {
 
                   {
                     "system": "http://oridashi.com.au/system/code/include-in-summary",
+
                     "system": "http://snomed.info/sct",
                    "code": "SUMMARY",
+
                     "code": "82272006",
                    "display": "summary"
+
                     "display": "Cold, common"
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-04-03 Fracture - Ankle (Left)</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                     "code": "frac.ankl",
 
                     "display": "Fracture - Ankle"
 
                  }
 
                ],
 
                "text": "Fracture - Ankle (Left)"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2017-04-03",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/135",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "135",
 
              "meta": {
 
                "versionId": "20170206121715",
 
                "lastUpdated": "2017-02-06T23:17:15.053+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-02-06 Diabetes Mellitus</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "diabm",
 
                    "display": "Diabetes Mellitus"
 
 
                   }
 
                   }
 
                 ],
 
                 ],
                 "text": "Diabetes Mellitus"
+
                 "text": "Cold, common"
 
               },
 
               },
 
               "subject": {
 
               "subject": {
                 "reference": "Patient/23"
+
                 "reference": "Patient/8"
 
               },
 
               },
               "onsetDateTime": "2017-02-06",
+
               "onsetDateTime": "2016-10-27",
 
               "abatementBoolean": false
 
               "abatementBoolean": false
 
             }
 
             }
 
           },
 
           },
 
           {
 
           {
             "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/134",
+
             "fullUrl": "https://localhost.oridashi.com.au:8109/Condition/11",
 
             "resource": {
 
             "resource": {
 
               "resourceType": "Condition",
 
               "resourceType": "Condition",
               "id": "134",
+
               "id": "11",
 
               "meta": {
 
               "meta": {
                 "versionId": "20170204130943",
+
                 "versionId": "20040210130000",
                 "lastUpdated": "2017-02-05T00:09:43.377+11:00",
+
                 "lastUpdated": "2004-02-11T00:00:00+11:00",
 
                 "security": [
 
                 "security": [
 
                   {
 
                   {
Line 656: Line 414:
 
               "text": {
 
               "text": {
 
                 "status": "generated",
 
                 "status": "generated",
                 "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-02-05 Left Ventricular Hypertrophy</p></div>"
+
                 "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2004-03-04 Osteoporosis (inactive)</p></div>"
 
               },
 
               },
               "clinicalStatus": "active",
+
               "clinicalStatus": "resolved",
 
               "verificationStatus": "confirmed",
 
               "verificationStatus": "confirmed",
 
               "category": [
 
               "category": [
Line 674: Line 432:
 
                 "coding": [
 
                 "coding": [
 
                   {
 
                   {
                     "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
+
                     "system": "http://oridashi.com.au/system/code/bestpracticeterm",
                     "code": "lvh",
+
                     "code": "2588",
                     "display": "Left Ventricular Hypertrophy"
+
                     "display": "Osteoporosis"
                  }
 
                ],
 
                "text": "Left Ventricular Hypertrophy"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2017-02-05",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/131",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "131",
 
              "meta": {
 
                "versionId": "20161118041140",
 
                "lastUpdated": "2016-11-18T15:11:40.173+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
 
                   },
 
                   },
 
                   {
 
                   {
                     "system": "http://oridashi.com.au/system/code/include-in-summary",
+
                     "system": "http://snomed.info/sct",
                    "code": "SUMMARY",
+
                     "code": "64859006",
                    "display": "summary"
+
                     "display": "Osteoporosis"
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016 Tibial fracture</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                     "code": "frac.tibi",
 
                     "display": "Tibial fracture"
 
 
                   }
 
                   }
 
                 ],
 
                 ],
                 "text": "Tibial fracture"
+
                 "text": "Osteoporosis"
 
               },
 
               },
 
               "subject": {
 
               "subject": {
                 "reference": "Patient/23"
+
                 "reference": "Patient/8"
 
               },
 
               },
               "onsetDateTime": "2016",
+
               "onsetDateTime": "2004-03-04",
              "abatementBoolean": false
+
               "abatementBoolean": true
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/130",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "130",
 
              "meta": {
 
                "versionId": "20161118034559",
 
                "lastUpdated": "2016-11-18T14:45:59.507+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  },
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
 
                    "code": "SUMMARY",
 
                    "display": "summary"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016 Retinopathy</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "retinopa",
 
                    "display": "Retinopathy"
 
                  }
 
                ],
 
                "text": "Retinopathy"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2016",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/129",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "129",
 
              "meta": {
 
                "versionId": "20161116111603",
 
                "lastUpdated": "2016-11-16T22:16:03.21+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016-11-16 Diabetes Mellitus</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "diabm",
 
                    "display": "Diabetes Mellitus"
 
                  }
 
                ],
 
                "text": "Diabetes Mellitus"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "2016-11-16",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/29",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "29",
 
              "meta": {
 
                "versionId": "20130220051313",
 
                "lastUpdated": "2013-02-20T16:13:13.46+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  },
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
 
                    "code": "SUMMARY",
 
                    "display": "summary"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1999-08-10 Anaemia - iron deficiency</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "anem@irond",
 
                    "display": "Anaemia - iron deficiency"
 
                  }
 
                ],
 
                "text": "Anaemia - iron deficiency"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1999-08-10",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/31",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "31",
 
              "meta": {
 
                "versionId": "20130220051311",
 
                "lastUpdated": "2013-02-20T16:13:11.98+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1999-02-25 Urinary tract infection</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "infe.urint",
 
                    "display": "Urinary tract infection"
 
                  }
 
                ],
 
                "text": "Urinary tract infection"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1999-02-25",
 
              "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/27",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "27",
 
              "meta": {
 
                "versionId": "20130220051307",
 
                "lastUpdated": "2013-02-20T16:13:07.947+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1999-02-03 Schizophrenia - borderline</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "schip@bord",
 
                    "display": "Schizophrenia - borderline"
 
                  }
 
                ],
 
                "text": "Schizophrenia - borderline"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1999-02-03",
 
               "abatementBoolean": false
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/26",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "26",
 
              "meta": {
 
                "versionId": "20130220051305",
 
                "lastUpdated": "2013-02-20T16:13:05.777+11:00",
 
                "security": [
 
                  {
 
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
 
                    "code": "N",
 
                    "display": "normal"
 
                  },
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
 
                    "code": "SUMMARY",
 
                    "display": "summary"
 
                  }
 
                ]
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1992 Atrial Fibrillation</p></div>"
 
              },
 
              "clinicalStatus": "active",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 
                    "code": "fibra",
 
                    "display": "Atrial Fibrillation"
 
                  }
 
                ],
 
                "text": "Atrial Fibrillation"
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1992",
 
              "abatementBoolean": false,
 
              "note": [
 
                {
 
                  "text": "Not medically re"
 
                }
 
              ]
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/P14",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "P14",
 
              "meta": {
 
                "versionId": "20130220045221",
 
                "lastUpdated": "2013-02-20T15:52:21.113+11:00"
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1960-02-20 Pregnancy </p></div>"
 
              },
 
              "clinicalStatus": "resolved",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://snomed.info/sct",
 
                    "code": "77386006",
 
                    "display": "Pregnant"
 
                  }
 
                ]
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1960-02-20",
 
              "abatementDateTime": "1960-02-20"
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/P13",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "P13",
 
              "meta": {
 
                "versionId": "20130220045112",
 
                "lastUpdated": "2013-02-20T15:51:12.813+11:00"
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1952-02-20 Pregnancy </p></div>"
 
              },
 
              "clinicalStatus": "resolved",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://snomed.info/sct",
 
                    "code": "77386006",
 
                    "display": "Pregnant"
 
                  }
 
                ]
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1952-02-20",
 
              "abatementDateTime": "1952-02-20"
 
            }
 
          },
 
          {
 
            "fullUrl": "https://localhost.oridashi.com.au:8102/Condition/P12",
 
            "resource": {
 
              "resourceType": "Condition",
 
              "id": "P12",
 
              "meta": {
 
                "versionId": "20130220044957",
 
                "lastUpdated": "2013-02-20T15:49:57.963+11:00"
 
              },
 
              "text": {
 
                "status": "generated",
 
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>1950-02-20 Pregnancy </p></div>"
 
              },
 
              "clinicalStatus": "resolved",
 
              "verificationStatus": "confirmed",
 
              "category": [
 
                {
 
                  "coding": [
 
                    {
 
                      "system": "http://snomed.info/sct",
 
                      "code": "439401001",
 
                      "display": "Diagnosis"
 
                    }
 
                  ]
 
                }
 
              ],
 
              "code": {
 
                "coding": [
 
                  {
 
                    "system": "http://snomed.info/sct",
 
                    "code": "77386006",
 
                    "display": "Pregnant"
 
                  }
 
                ]
 
              },
 
              "subject": {
 
                "reference": "Patient/23"
 
              },
 
              "onsetDateTime": "1950-02-20",
 
              "abatementDateTime": "1950-02-20"
 
 
             }
 
             }
 
           }
 
           }
Line 1,195: Line 457:
 
}
 
}
 
</nowiki>
 
</nowiki>
 +
 +
 +
 +
== Terminology ==
 +
 +
Test names from standard sets MD/BP [[Media:default-pathology-requests2.xlsx]]

Latest revision as of 03:23, 6 August 2017

This page describes the interface for track 6 for Hacking Health Brisbane 2017 (see [[1]])

Basics

The cds-hook is 'order-review' - see [[2]].

Given the scenario described in the track, we assume that there's no call back to the EHR - so all data is provided via pre-fetch. Therefore, the EHR provides the following information:

  • hook = order-review
  • a hook instance
  • a user id
  • a patient
  • an encounter (e.g. information about the GP consultation)
  • a patient and and encounter resource matching those in the pre-fetch data
  • at least one Condition - (problem list for the patient, also in the prefetch data
  • one or more ProcedureRequest resources, for each test (or panel) requested by the clinician (in the context)
  • no oauth/redirect details

The service returns a set of cards (no profile on the response yet).

Implementations

There's an implementation at http://test.fhir.org/r3/cds-services/hacking-health. All that implementation does is return a card that describes technical issues with the submission from the EHR.

We decided that the cds-hook 'context' element should be an array for - the cds-hooks specification is somewhat unclear.

Example

{
  "hookInstance": "679951bb-4386-4236-8fa6-b816572ce46b",
  "hook": "order-review",
  "user": "Practitioner/1",
  "patient": "8",
  "encounter": "1-862",
  "context": [
    {
      "resourceType": "ProcedureRequest",
      "id": "29-82A52E1D203A00A77D4B222E4630B023",
      "meta": {
        "versionId": "20170803141836",
        "lastUpdated": "2017-08-04T00:18:36+10:00"
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-08-04 ESR</p></div>"
      },
      "status": "active",
      "code": {
        "text": "ESR"
      },
      "subject": {
        "reference": "Patient/8"
      },
      "context": {
        "reference": "Encounter/1-862"
      },
      "occurrenceDateTime": "2017-08-04"
    },
    {
      "resourceType": "ProcedureRequest",
      "id": "29-39F275FBA712869CF8D656D72CEFE1C5",
      "meta": {
        "versionId": "20170803141836",
        "lastUpdated": "2017-08-04T00:18:36+10:00"
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2017-08-04 FBC</p></div>"
      },
      "status": "active",
      "code": {
        "text": "FBC"
      },
      "subject": {
        "reference": "Patient/8"
      },
      "context": {
        "reference": "Encounter/1-862"
      },
      "occurrenceDateTime": "2017-08-04"
    },
    {
      "resourceType": "ProcedureRequest",
      "id": "11-33AF404896F87F96AB9D345FC1A68195",
      "meta": {
        "versionId": "20040210130000",
        "lastUpdated": "2004-02-11T00:00:00+11:00"
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2003-10-20 Modified rast</p></div>"
      },
      "status": "active",
      "code": {
        "text": "Modified rast"
      },
      "subject": {
        "reference": "Patient/8"
      },
      "context": {
        "reference": "Encounter/1-862"
      },
      "occurrenceDateTime": "2003-10-20"
    }
  ],
  "prefetch": {
    "encounter": {
      "response": {
        "status": "200 OK"
      },
      "resource": {
        "resourceType": "Encounter",
        "id": "1-862",
        "meta": {
          "lastUpdated": "2017-08-04T00:11:29+10:00"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div>2017-08-04 00:11 : General Practitioner<pre>\r\n\r\nActions:\r\nRequest printed to Best Pathology Service: ESR; FBC.\r\n</pre></div></div>"
        },
        "status": "in-progress",
        "type": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "62247001",
                "display": "General Practitioner"
              }
            ]
          }
        ],
        "subject": {
          "reference": "Patient/8"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/v3/ParticipationType",
                    "code": "ATND",
                    "display": "attender"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "Practitioner/1"
            }
          }
        ],
        "period": {
          "start": "2017-08-04T00:11:29+10:00"
        }
      }
    },
    "patient": {
      "response": {
        "status": "200 OK"
      },
      "resource": {
        "resourceType": "Patient",
        "id": "8",
        "meta": {
          "lastUpdated": "2004-11-05T00:00:00+11:00"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Allen, Fay (Female 77y)</p></div>"
        },
        "extension": [
          {
            "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status",
            "valueCoding": {
              "system": "http://meteor.aihw.gov.au/content/index.phtml/itemId/602543#Codes",
              "code": "9",
              "display": "Not stated/inadequately described"
            }
          }
        ],
        "identifier": [
          {
            "use": "usual",
            "type": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/v2/0203",
                  "code": "MC",
                  "display": "Patient's Medicare Number"
                }
              ],
              "text": "Medicare Number"
            },
            "system": "http://ns.electronichealth.net.au/id/medicare-number",
            "value": "22345678911"
          },
          {
            "use": "usual",
            "type": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/v2/0203",
                  "code": "MB",
                  "display": "Member Number"
                }
              ],
              "text": "Health Fund Number"
            },
            "value": "7861327",
            "assigner": {
              "display": "Medihealthy"
            }
          }
        ],
        "active": true,
        "name": [
          {
            "use": "usual",
            "family": "Allen",
            "given": [
              "Fay",
              "Ellen"
            ],
            "prefix": [
              "Mrs."
            ]
          },
          {
            "use": "nickname",
            "text": "Fay"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "0899905050",
            "use": "home"
          }
        ],
        "gender": "female",
        "birthDate": "1940-07-12",
        "deceasedBoolean": false,
        "address": [
          {
            "use": "home",
            "type": "physical",
            "line": [
              "8 Grey St"
            ],
            "city": "Fremantle",
            "state": "WA",
            "postalCode": "6160"
          }
        ],
        "contact": [
          {
            "relationship": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/patient-contact-relationship",
                    "code": "family",
                    "display": "Family"
                  }
                ],
                "text": "Next of Kin"
              }
            ],
            "name": {
              "use": "usual",
              "family": "Allen",
              "given": [
                "Kenneth"
              ],
              "prefix": [
                "Mr."
              ]
            },
            "telecom": [
              {
                "system": "phone",
                "value": "0899905050",
                "use": "home"
              }
            ],
            "address": {
              "line": [
                "8 Grey St"
              ],
              "city": "Fremantle",
              "postalCode": "6160"
            }
          }
        ],
        "generalPractitioner": [
          {
            "reference": "Organization/0"
          }
        ],
        "managingOrganization": {
          "reference": "Organization/0"
        }
      }
    },
    "problems": {
      "response": {
        "status": "200 OK"
      },
      "resource": {
        "resourceType": "Bundle",
        "id": "e72c7adb-7665-40fa-8f04-f9e5dcaefb40",
        "meta": {
          "versionId": "20170804010316",
          "lastUpdated": "2017-08-04T01:03:16.705+10:00"
        },
        "type": "searchset",
        "total": 2,
        "link": [
          {
            "relation": "self",
            "url": "https://localhost.oridashi.com.au:8109/Condition?patient=8&_list=%24current-problems"
          },
          {
            "relation": "last",
            "url": "https://localhost.oridashi.com.au:8109/Condition?patient=8&_list=%24current-problems&_page=1&_snapshot=636374053966930617"
          }
        ],
        "entry": [
          {
            "fullUrl": "https://localhost.oridashi.com.au:8109/Condition/143",
            "resource": {
              "resourceType": "Condition",
              "id": "143",
              "meta": {
                "versionId": "20161027075650",
                "lastUpdated": "2016-10-27T18:56:50+11:00",
                "security": [
                  {
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
                    "code": "N",
                    "display": "normal"
                  },
                  {
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
                    "code": "SUMMARY",
                    "display": "summary"
                  }
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016-10-27 Cold, common</p></div>"
              },
              "clinicalStatus": "active",
              "verificationStatus": "confirmed",
              "category": [
                {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "439401001",
                      "display": "Diagnosis"
                    }
                  ]
                }
              ],
              "code": {
                "coding": [
                  {
                    "system": "http://oridashi.com.au/system/code/bestpracticeterm",
                    "code": "648",
                    "display": "Cold, common"
                  },
                  {
                    "system": "http://snomed.info/sct",
                    "code": "82272006",
                    "display": "Cold, common"
                  }
                ],
                "text": "Cold, common"
              },
              "subject": {
                "reference": "Patient/8"
              },
              "onsetDateTime": "2016-10-27",
              "abatementBoolean": false
            }
          },
          {
            "fullUrl": "https://localhost.oridashi.com.au:8109/Condition/11",
            "resource": {
              "resourceType": "Condition",
              "id": "11",
              "meta": {
                "versionId": "20040210130000",
                "lastUpdated": "2004-02-11T00:00:00+11:00",
                "security": [
                  {
                    "system": "http://hl7.org/fhir/v3/Confidentiality",
                    "code": "N",
                    "display": "normal"
                  },
                  {
                    "system": "http://oridashi.com.au/system/code/include-in-summary",
                    "code": "SUMMARY",
                    "display": "summary"
                  }
                ]
              },
              "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2004-03-04 Osteoporosis (inactive)</p></div>"
              },
              "clinicalStatus": "resolved",
              "verificationStatus": "confirmed",
              "category": [
                {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "439401001",
                      "display": "Diagnosis"
                    }
                  ]
                }
              ],
              "code": {
                "coding": [
                  {
                    "system": "http://oridashi.com.au/system/code/bestpracticeterm",
                    "code": "2588",
                    "display": "Osteoporosis"
                  },
                  {
                    "system": "http://snomed.info/sct",
                    "code": "64859006",
                    "display": "Osteoporosis"
                  }
                ],
                "text": "Osteoporosis"
              },
              "subject": {
                "reference": "Patient/8"
              },
              "onsetDateTime": "2004-03-04",
              "abatementBoolean": true
            }
          }
        ]
      }
    }
  }
}


Terminology

Test names from standard sets MD/BP Media:default-pathology-requests2.xlsx