This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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

5.8.5 Resource Group - Examples

Example Index:

General Group ExampleXMLJSON

5.8.5.1 General

XML

General Group Example (id = "101")

Raw XML

<Group xmlns="http://hl7.org/fhir">
  <text>
    <status value="additional"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Herd of 25 horses</p>
      <p>Gender: mixed</p>
      <p>Owner: John Smith</p>
    </div>
  </text>
  <type value="animal"/>
  <actual value="true"/>
  <code>
    <text value="Horse"/>
  </code>
  <name value="John's herd"/>
  <quantity value="25"/>
  <characteristic>
    <code>
      <text value="gender"/>
    </code>
    <valueCodeableConcept>
      <text value="mixed"/>
    </valueCodeableConcept>
    <exclude value="false"/>
  </characteristic>
  <characteristic>
    <code>
      <text value="owner"/>
    </code>
    <valueCodeableConcept>
      <text value="John Smith"/>
    </valueCodeableConcept>
    <exclude value="false"/>
  </characteristic>
</Group>

JSON

General Group Example

{
  "resourceType": "Group",
  "text": {
    "status": "additional",
    "div": "<div>\n      <p>Herd of 25 horses</p>\n      <p>Gender: mixed</p>\n      <p>Owner: John Smith</p>\n    </div>"
  },
  "type": "animal",
  "actual": true,
  "code": {
    "text": "Horse"
  },
  "name": "John's herd",
  "quantity": 25,
  "characteristic": [
    {
      "code": {
        "text": "gender"
      },
      "valueCodeableConcept": {
        "text": "mixed"
      },
      "exclude": false
    },
    {
      "code": {
        "text": "owner"
      },
      "valueCodeableConcept": {
        "text": "John Smith"
      },
      "exclude": false
    }
  ]
}

comments powered by Disqus