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

 

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

Raw JSON

{
  "Other":{
    "extension":[
      {
        "extension":[
          {
            "url":{
              "value":"http://example.org/do-not-use/fhir-extensions/UML#class.name"
            },
            "valueString":{
              "value":"Class1"
            }
          },
          {
            "extension":[
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name"
                },
                "valueString":{
                  "value":"attribute1"
                }
              },
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs"
                },
                "valueInteger":{
                  "value":1
                }
              },
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs"
                },
                "valueCode":{
                  "value":"*"
                }
              }
            ],
            "url":{
              "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute"
            }
          },
          {
            "extension":[
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name"
                },
                "valueString":{
                  "value":"attribute2"
                }
              },
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs"
                },
                "valueInteger":{
                  "value":0
                }
              },
              {
                "url":{
                  "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs"
                },
                "valueInteger":{
                  "value":1
                }
              }
            ],
            "url":{
              "value":"http://example.org/do-not-use/fhir-extensions/UML#class.attribute"
            }
          }
        ],
        "url":{
          "value":"http://example.org/do-not-use/fhir-extensions/UML#class"
        }
      }
    ],
    "text":{
      "status":{
        "value":"generated"
      },
      "div":"<div>\n      <p><b>Class1<\/b><\/p>\n      <ul>\n        <li>Attribute1: 1..*<\/li>\n        <li>Attribute2: 0..1<\/li>\n      <\/ul>\n    <\/div>"
    },
    "code":{
      "coding":[
        {
          "system":{
            "value":"http://example.org/do-not-use/fhir-codes#resourceTypes"
          },
          "code":{
            "value":"UMLCLASSMODEL"
          }
        }
      ]
    }
  }
}