FHIR IG analytics| Package | hl7.cda.uv.core |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-bn.json |
| FHIR Version | R5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Primitive type 'bn'
{
"resourceType": "StructureDefinition",
"id": "bn",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
"valueUri": "urn:hl7-org:v3"
}
],
"url": "http://hl7.org/cda/stds/core/StructureDefinition/bn",
"version": "2.0.1",
"name": "bn",
"title": "bn: BooleanNonNull",
"status": "active",
"experimental": false,
"date": "2023-10-03T20:44:04+00:00",
"publisher": "Health Level 7",
"contact": [
{
"name": "HL7 International - Structured Documents",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/structdoc"
},
{
"system": "email",
"value": "structdog@lists.HL7.org"
}
]
}
],
"description": "The BooleanNonNull type is used where a Boolean cannot have a null value. A Boolean value can be either true or false.",
"fhirVersion": "5.0.0",
"kind": "primitive-type",
"abstract": false,
"type": "boolean",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/boolean",
"derivation": "constraint",
"snapshot": {
"element": [
{
"id": "boolean",
"path": "boolean",
"short": "Primitive Type boolean",
"definition": "Value of \"true\" or \"false\"",
"min": 0,
"max": "*",
"base": {
"path": "boolean",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "boolean.id",
"path": "boolean.id",
"representation": [
"xmlAttr"
],
"short": "xml:id (or equivalent in JSON)",
"definition": "unique id for the element within a resource (for internal references)",
"min": 0,
"max": "0",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "boolean.extension",
"path": "boolean.extension",
"short": "Extension",
"definition": "An Extension",
"min": 0,
"max": "0",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
"constraint": [
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "boolean.value",
"path": "boolean.value",
"representation": [
"xmlAttr"
],
"short": "Primitive value for boolean",
"definition": "The actual value",
"min": 0,
"max": "1",
"base": {
"path": "boolean.value",
"min": 0,
"max": "1"
},
"type": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "boolean"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "true|false"
}
],
"code": "http://hl7.org/fhirpath/System.Boolean"
}
],
"isModifier": false,
"isSummary": false
}
]
},
"differential": {
"element": [
{
"id": "boolean.id",
"path": "boolean.id",
"max": "0"
},
{
"id": "boolean.extension",
"path": "boolean.extension",
"max": "0"
}
]
}
}