This page is part of the FHIR Specification (v0.06: DSTU 1 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Resource Agent - Examples 3.1.4

General 3.1.4.1

Example of agent

Example of agent (id = "example")

<Agent xmlns="http://hl7.org/fhir">

  <person>
    <type>Person</type>
    <id>101</id>  
  </person> 
  <organization>
    <type>Organization</type>
    <id>1</id>  
  </organization> 

  <!--   Referring Provider for the first 3 months of 2012   -->
  <role>
    <coding>
      <system>http://hl7.org/fhir/sid/v2-0286</system>
      <code>RP</code>
    </coding>
  </role>
  
  <period>
    <start>2012-01-01</start>
    <end>2012-03-31</end>
  </period>
  
  <identifier>
    <identifier>  
      <system>htp://www.acme.org/providers</system>
      <id>23</id>
    </identifier>
  </identifier>

  <text>
    <status>generated</status>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Dr Adam Careful is a Referring Provider for Acme Hospital from 1-Jan 2012 to 31-Mar 2012</p>
    </div>
  </text>
</Agent>

JSON Equivalent

Example of agent

{"Agent": {
  "text": {
    "status": "generated",
    "div": "<div>\n      <p>Dr Adam Careful is a Referring Provider for Acme Hospital from 1-Jan 2012 to 31-Mar 2012<\/p>\n    <\/div>"
  },
  "organization": {
    "id": {"value": "1"},
    "type": {"value": "Organization"}
  },
  "person": {
    "id": {"value": "101"},
    "type": {"value": "Person"}
  },
  "role": [{"coding": [{
    "system": {"value": "http://hl7.org/fhir/sid/v2-0286"},
    "code": {"value": "RP"}
  }]}],
  "period": {
    "start": {"value": "2012-01-01"},
    "end": {"value": "2012-03-31"}
  },
  "identifier": [{"identifier": {
    "id": {"value": "23"},
    "system": {"value": "htp://www.acme.org/providers"}
  }}]
}}

This is an old version of FHIR retained for archive purposes. Do not use for anything else
Implementers are welcome to experiment with the content defined here, but should note that the contents are subject to change without prior notice.
© HL7.org 2011 - 2012. FHIR v0.06 generated on Tue, Dec 4, 2012 00:04+1100. License