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 
How 'Other' can be used for essoteric resources - in this case, a UML class model
{
"resourceType": "Other",
"id": "classModel",
"text": {
"status": "generated",
"div": "<div>!-- Snipped for Brevity --></div>"
},
"extension": [
{
"extension": [
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.name",
"valueString": "Class1"
},
{
"extension": [
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name",
"valueString": "attribute1"
},
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs",
"valueInteger": 1
},
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs",
"valueCode": "*"
}
],
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute"
},
{
"extension": [
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.name",
"valueString": "attribute2"
},
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.minOccurs",
"valueInteger": 0
},
{
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute.maxOccurs",
"valueInteger": 1
}
],
"url": "http://example.org/do-not-use/fhir-extensions/UML#class.attribute"
}
],
"url": "http://example.org/do-not-use/fhir-extensions/UML#class"
}
],
"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.