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

Basic-example2.json

Raw JSON (canonical form)

How 'Basic' can be used for essoteric resources - in this case, a UML class model

{
  "resourceType": "Basic",
  "id": "classModel",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "name",
          "valueString": "Class1"
        },
        {
          "extension": [
            {
              "url": "name",
              "valueString": "attribute1"
            },
            {
              "url": "minOccurs",
              "valueInteger": 1
            },
            {
              "url": "maxOccurs",
              "valueCode": "*"
            }
          ],
          "url": "attribute"
        },
        {
          "extension": [
            {
              "url": "name",
              "valueString": "attribute2"
            },
            {
              "url": "minOccurs",
              "valueInteger": 0
            },
            {
              "url": "maxOccurs",
              "valueInteger": 1
            }
          ],
          "url": "attribute"
        }
      ],
      "url": "http://example.org/do-not-use/fhir-extensions/UMLclass"
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://example.org/do-not-use/fhir-codes#resourceTypes",
        "code": "UMLCLASSMODEL"
      }
    ]
  }
}

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.