FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Consent/consent-example-smartonfhir (JSON)

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw JSON (canonical form + also see JSON Format Specification)

Template for recording a Smart on FHIR Authorization

{
  "resourceType" : "Consent",
  "id" : "consent-example-smartonfhir",
  "status" : "active",
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "59284-0"
    }]
  }],
  "subject" : {
    "reference" : "Patient/xcda"
  },
  "date" : "2016-06-23",
  "grantor" : [{
    "reference" : "RelatedPerson/peter"
  }],
  "controller" : [{
    "reference" : "Organization/f001"
  }],
  "regulatoryBasis" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "INFA"
    }]
  }],
  "decision" : "permit",
  "provision" : [{
    "period" : {
      "start" : "2016-06-23T17:02:33+10:00",
      "end" : "2016-06-23T17:32:33+10:00"
    },
    "provision" : [{
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      },
      {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "correct"
        }]
      }],
      "resourceType" : [{
        "system" : "http://hl7.org/fhir/resource-types",
        "code" : "MedicationRequest"
      }]
    }]
  }]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.