2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

7.6.5 Resource EnrollmentRequest - Examples

Example Index:

General Simple Enrollment ExampleXMLJSON

7.6.5.1 General-Primary

XML

General Simple Enrollment Example (id = "22345")

Raw XML

<EnrollmentRequest xmlns="http://hl7.org/fhir">
  <id value="22345"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <identifier>
    <system value="http://happyvalley.com/enrollmentrequest"/>
    <value value="EN22345"/>
  </identifier>
  <created value="2014-08-16"/>
  <organization>
    <reference value="Organization/1"/>
  </organization>
  <subject>
    <reference value="Patient/1"/>
  </subject>
  <coverage>
    <reference value="Coverage/9876B1"/>
  </coverage>
  <relationship>
    <code value="spouse"/>
  </relationship>
</EnrollmentRequest>

JSON

General Simple Enrollment Example

Raw JSON (Canonical)

{
  "resourceType": "EnrollmentRequest",
  "id": "22345",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "identifier": [
    {
      "system": "http://happyvalley.com/enrollmentrequest",
      "value": "EN22345"
    }
  ],
  "created": "2014-08-16",
  "organization": {
    "reference": "Organization/1"
  },
  "subject": {
    "reference": "Patient/1"
  },
  "coverage": {
    "reference": "Coverage/9876B1"
  },
  "relationship": {
    "code": "spouse"
  }
}

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.