Skip to content

Instantly share code, notes, and snippets.

@jmandel
Last active November 27, 2019 16:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmandel/8342071 to your computer and use it in GitHub Desktop.
Save jmandel/8342071 to your computer and use it in GitHub Desktop.
Quick Start Guide for SMART on FHIR Servers: Growth Charts

Getting started implementing a SMART on FHIR server

This is a getting-started guide for SMART on FHIR server developers who want to support the SMART Growth Charts app. For background, SMART on FHRI is a plug-in app platform for health apps based on open standards.

To run SMART's open-source Growth Charts app against your own SMART on FHIR server, you'll need to:

  1. Expose clinical data using FHIR Patient and Observation resources
  2. Protect your clinical data via the SMART on FHIR Authorization protocols(based on OAuth2).

To get up and running as easily as possible, this Quick-start guide helps you through two scenarios: first, to run the app in debugging mode against an unprotected server, and second, to get the app running against an OAuth2-protected server.

Debugging: Launch Growth Charts against your unprotected server

Once you've exposed the necessary clinical data (see payload examples below for full details), you can launch the Growth Charts app in debugging mode (no authorization required) by pointing it at your server's FHIR base URL:

https://fhir.smartplatforms.org/apps/growth-chart/launch.html?

  • fhirServiceUrl={FHIR base URL of your unprotected server}
  • patientId={patient ID from your server}

For real: Launch Growth Charts against your OAuth2-protected server

Once you've implemented the SMART on FHIR Authorization protocols, you can launch the app in production mode (with authorization) by completing the following sequence:

  1. On your back-end, create a SMART "launch context" that includes a patient ID and any other context details you want to track. You'll assign a "launch id" to this context, which you'll pass to the Growth Charts app as a URL parameter. In the real world, you'd create a launch context every time a user launches an app (but for prototyping, you might just want to create a trivial implementation that hard-codes whatever values you care about).

  2. Publish your server's OAuth2 URLs in your FHIR conformance statement (https://your-protected-server/fhir-base/metadata) within Conformance.rest.security:

{
  "resourceType": "Conformance", 
...
  "rest": {
   ...
      "security": {
        "extension": [
          {
            "url": "http://fhir-registry.smartplatforms.org/Profile/oauth-uris#authorize",
            "valueUri": "{OAuth2 'authorize' URL for your OAuth2-protected server}""
          },
          {
            "url": "http://fhir-registry.smartplatforms.org/Profile/oauth-uris#token",
            "valueUri": "{OAuth2 'token' URL for your OAuth2-protected server}""
          }
        ],
      ...
  1. Open a new browser window with the following URL:

https://fhir.smartplatforms.org/apps/growth-chart/launch.html?

  • iss={FHIR base URL of your OAuth2-protected server}
  • launch={opaque launch ID generated by your server}

Data requirements

When the SMART Growth Charts, it will fetch:

1. Fetch basic patient demographics

curl 'https://fhir-open-api.smartplatforms.org/Patient/1482713' -H 'Accept: application/json'

2. Fetch all Weight, Height, Head Circumference, and BMI Observations

Note LOINC Codes: 3141-9, 8302-2, 8287-5, 39156-5

curl 'https://fhir-open-api.smartplatforms.org/Observation?subject%3APatient=1482713&name=3141-9%2C8302-2%2C8287-5%2C39156-5&_count=50' -H 'Accept: application/json' 

See below for example responses...

{
"resourceType": "Patient",
"text": {
"status": "generated",
"div": "<div>\n \n <p>Susan A. Clark</p>\n \n </div>"
},
"identifier": [
{
"use": "usual",
"label": "SMART Hospiptal MRN",
"system": "urn:oid:0.1.2.3.4.5.6.7",
"value": "1482713"
}
],
"name": [
{
"use": "official",
"family": [
"Clark"
],
"given": [
"Susan",
"A."
]
}
],
"telecom": [
{
"system": "phone",
"value": "800-576-9327",
"use": "home"
},
{
"system": "phone",
"use": "mobile"
},
{
"system": "email",
"value": "susan.clark@example.com"
}
],
"gender": {
"coding": [
{
"system": "http://hl7.org/fhir/v3/AdministrativeGender",
"code": "F",
"display": "Female"
}
]
},
"birthDate": "2000-12-27",
"address": [
{
"use": "home",
"line": [
"52 Highland St"
],
"city": "Tulsa",
"state": "OK",
"zip": "74116",
"country": "USA"
}
],
"active": true
}
{
"resourceType": "Bundle",
"title": "FHIR Atom Feed",
"id": "https://fhir-open-api.smartplatforms.org/Observation/_search?subject%3APatient=1482713&name=3141-9%2C8302-2%2C8287-5%2C39156-5",
"link": [
{
"rel": "self",
"href": "https://fhir-open-api.smartplatforms.org/Observation/_search?subject%3APatient=1482713&name=3141-9%2C8302-2%2C8287-5%2C39156-5"
},
{
"rel": "next",
"href": "https://fhir-open-api.smartplatforms.org/Observation/_search?subject%3APatient=1482713&name=3141-9%2C8302-2%2C8287-5%2C39156-5&_count=50&_skip=50"
}
],
"totalResults": 69,
"updated": "2014-07-17T18:29:18.531-00:00",
"author": [
{
"name": "groovy.config.atom.author-name",
"uri": "groovy.config.atom.author-uri"
}
],
"entry": [
{
"title": "Observation/8814",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8814",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2003-11-28: height = 115.316 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 115.316,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2003-11-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8818",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8818",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2003-11-28: weight = 18.55193 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 18.55193,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2003-11-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8819",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8819",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2003-11-28: bmi = 13.9 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 13.9,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2003-11-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8821",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8821",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-15: height = 122.428 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.428,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-03-15",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8825",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8825",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-15: weight = 20.91061 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 20.91061,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-03-15",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8826",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8826",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-15: bmi = 14.0 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.0,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-03-15",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8828",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8828",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-16: height = 122.428 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.428,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-03-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8832",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8832",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-16: weight = 21.04669 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 21.04669,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-03-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8833",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8833",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-03-16: bmi = 14.0 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.0,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-03-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8835",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8835",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-19: height = 122.428 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.428,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-19",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8839",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8839",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-19: weight = 21.04669 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 21.04669,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-19",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8840",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8840",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-19: bmi = 14.0 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.0,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-19",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8842",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8842",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-20: height = 122.428 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.428,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-20",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8846",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8846",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-20: weight = 21.18276 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 21.18276,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-20",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8847",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8847",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-20: bmi = 14.1 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.1,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-20",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8849",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8849",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-21: height = 122.174 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.174,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-21",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8853",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8853",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-21: weight = 20.95597 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 20.95597,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-21",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8854",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8854",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-21: bmi = 14.0 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.0,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-21",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8856",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8856",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-22: height = 122.174 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.174,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-22",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8860",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8860",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-22: weight = 20.91061 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 20.91061,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-22",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8861",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8861",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-22: bmi = 14.1 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.1,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-22",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8863",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8863",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-26: height = 122.428 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.428,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-26",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8867",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8867",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-26: weight = 21.1374 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 21.1374,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-26",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8868",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8868",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-26: bmi = 14.1 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.1,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-26",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8870",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8870",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-28: height = 122.174 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 122.174,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8874",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8874",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-28: weight = 20.77453 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 20.77453,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8875",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8875",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-28: bmi = 13.9 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 13.9,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-28",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8877",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8877",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-29: height = 121.92 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 121.92,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-07-29",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8881",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8881",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-29: weight = 20.86525 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 20.86525,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-07-29",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8882",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8882",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-07-29: bmi = 14.0 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.0,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-07-29",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8884",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8884",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-08-06: height = 121.92 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 121.92,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2004-08-06",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8888",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8888",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-08-06: weight = 21.00133 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 21.00133,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2004-08-06",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8889",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8889",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2004-08-06: bmi = 14.1 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.1,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2004-08-06",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8891",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8891",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-02-14: height = 129.032 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 129.032,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2005-02-14",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8895",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8895",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-02-14: weight = 23.99504 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 23.99504,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2005-02-14",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8896",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8896",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-02-14: bmi = 14.4 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.4,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2005-02-14",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8898",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8898",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-09-16: height = 128.524 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 128.524,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2005-09-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8902",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8902",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-09-16: weight = 23.54144 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 23.54144,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2005-09-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8903",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8903",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2005-09-16: bmi = 14.3 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 14.3,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2005-09-16",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8905",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8905",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2006-10-31: height = 133.858 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 133.858,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2006-10-31",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8909",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8909",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2006-10-31: weight = 27.35162 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 27.35162,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2006-10-31",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8910",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8910",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2006-10-31: bmi = 15.4 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 15.4,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2006-10-31",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8912",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8912",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-04-18: height = 139.954 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 139.954,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2007-04-18",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8916",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8916",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-04-18: weight = 32.11434 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 32.11434,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2007-04-18",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8917",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8917",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-04-18: bmi = 16.4 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 16.4,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2007-04-18",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8919",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8919",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-09-10: height = 139.7 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 139.7,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2007-09-10",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8923",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8923",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-09-10: weight = 31.88754 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 31.88754,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2007-09-10",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8924",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8924",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-09-10: bmi = 16.4 kg/m2</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "39156-5",
"display": "bmi"
}
]
},
"valueQuantity": {
"value": 16.4,
"units": "kg/m2",
"code": "kg/m2"
},
"appliesDateTime": "2007-09-10",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8926",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8926",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-09-11: height = 139.7 cm</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "height"
}
]
},
"valueQuantity": {
"value": 139.7,
"units": "cm",
"code": "cm"
},
"appliesDateTime": "2007-09-11",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
},
{
"title": "Observation/8930",
"id": "https://fhir-open-api.smartplatforms.org/Observation/8930",
"updated": "2014-07-17T18:29:18.531-00:00",
"content": {
"resourceType": "Observation",
"text": {
"status": "generated",
"div": "<div>2007-09-11: weight = 32.02362 kg</div>"
},
"name": {
"coding": [
{
"system": "http://loinc.org",
"code": "3141-9",
"display": "weight"
}
]
},
"valueQuantity": {
"value": 32.02362,
"units": "kg",
"code": "kg"
},
"appliesDateTime": "2007-09-11",
"status": "final",
"subject": {
"reference": "Patient/1482713"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment