Amakomaya Nepal FHIR Implementation Guide
2.0.0 - ci-build Nepal

Amakomaya Nepal FHIR Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: AMKBinary - TTL Profile

Active as of 2026-08-21

TTL representation of the amk-binary resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/StructureDefinition/amk-binary> a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "amk-binary"] ; #
      fhir:text [
         fhir:status [ fhir:v "extensions" ] ;
         fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition amk-binary</b></p><a name=\"amk-binary\"> </a><a name=\"hcamk-binary\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-amk-binary-definitions.html#Binary\">Binary</a><a name=\"Binary\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/6.0.0-ballot5/binary.html\">Binary</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Pure binary content defined by a format other than FHIR</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-amk-binary-definitions.html#Binary.contentType\">contentType</a><a name=\"Binary.contentType\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">MimeType of the binary content</span><br class=\"binding\"/><span style=\"font-weight:bold\" title=\"null\" class=\"binding\">Binding: </span><a href=\"http://hl7.org/fhir/6.0.0-ballot5/valueset-mimetypes.html\" title=\"http://hl7.org/fhir/ValueSet/mimetypes\" class=\"binding\">MimeTypes</a><span title=\"null\" class=\"binding\"> (</span><a href=\"http://hl7.org/fhir/6.0.0-ballot5/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\" class=\"binding\">required</a><span title=\"null\" class=\"binding\">)</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-amk-binary-definitions.html#Binary.securityContext\">securityContext</a><a name=\"Binary.securityContext\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/6.0.0-ballot5/references.html\">Reference</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Identifies another resource to use as proxy when enforcing access control</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-amk-binary-definitions.html#Binary.data\">data</a><a name=\"Binary.data\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/6.0.0-ballot5/datatypes.html#base64Binary\">base64Binary</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The actual content</span></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
         fhir:v "https://fhir.amakomaya.com/StructureDefinition/amk-binary"^^xsd:anyURI ;
         fhir:l <https://fhir.amakomaya.com/StructureDefinition/amk-binary>
      ] ; #
      fhir:version [ fhir:v "2.0.0"] ; #
      fhir:name [ fhir:v "AMKBinary"] ; #
      fhir:title [ fhir:v "Amakomaya Binary (Minimal)"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2026-08-21T17:27:40+05:45"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Amakomaya Nepal"] ; #
      fhir:contact ( [
         fhir:name [ fhir:v "Amakomaya Nepal" ] ;
         fhir:telecom ( [
           fhir:system [ fhir:v "url" ] ;
           fhir:value [ fhir:v "https://amakomaya.com" ]
         ] [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "info@amakomaya.com" ]
         ] )
      ] [
         fhir:name [ fhir:v "RC Poudel" ] ;
         fhir:telecom ( [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "rcpoudel@amakomaya.com" ]
         ] [
           fhir:system [ fhir:v "email" ] ;
           fhir:value [ fhir:v "rmchndrapdl@gmail.com" ]
         ] [
           fhir:system [ fhir:v "phone" ] ;
           fhir:value [ fhir:v "+977-9851341921" ]
         ] )
      ] ) ; #
      fhir:description [ fhir:v "Minimal Binary profile for uploading and storing files in the Amakomaya system."] ; #
      fhir:jurisdiction ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
             fhir:l <urn:iso:std:iso:3166>
           ] ;
           fhir:code [ fhir:v "NP" ]
         ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Used by permission of HL7 International, all rights reserved Creative Commons License"] ; #
      fhir:fhirVersion [ fhir:v "6.0.0-ballot5"] ; #
      fhir:mapping ( [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/fivews>
         ] ;
         fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:uri [
           fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
           fhir:l <http://hl7.org/v3>
         ] ;
         fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
         fhir:v "Binary"^^xsd:anyURI ;
         fhir:l fhir:Binary
      ] ; #
      fhir:baseDefinition [
         fhir:v "http://hl7.org/fhir/StructureDefinition/Binary"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/Binary>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
         fhir:extension ( [
           fhir:url [
             fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>
           ] ;
           fhir:value [
             a fhir:String ;
             fhir:v "6.0.0-ballot5"
           ]
         ] ) ;
         fhir:element ( [
           fhir:id [ fhir:v "Binary" ] ;
           fhir:path [ fhir:v "Binary" ] ;
           fhir:short [ fhir:v "Pure binary content defined by a format other than FHIR" ] ;
           fhir:definition [ fhir:v "A resource that represents the data of a single raw artifact as digital content accessible in its native format.  A Binary resource can contain any content, whether text, image, pdf, zip archive, etc." ] ;
           fhir:comment [ fhir:v "Typically, Binary resources are used for handling content such as:  \n\n* CDA Documents (i.e. with XDS) \n* PDF Documents \n* Images." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "*" ] ;
           fhir:base [
             fhir:path [ fhir:v "Binary" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "*" ]
           ] ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "Entity. Role, or Act,ED" ]
           ] [
             fhir:identity [ fhir:v "w5" ] ;
             fhir:map [ fhir:v "infrastructure.structure" ]
           ] )
         ] [
           fhir:id [ fhir:v "Binary.id" ] ;
           fhir:path [ fhir:v "Binary.id" ] ;
           fhir:short [ fhir:v "Logical id of this artifact" ] ;
           fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
           fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resource id depends on the given use case." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.id" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>
               ] ;
               fhir:value [
                 a fhir:Url ;
                 fhir:v "id"^^xsd:anyURI ;
                 fhir:l fhir:id
               ]
             ] ) ;
             fhir:code [
               fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhirpath/System.String>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Binary.meta" ] ;
           fhir:path [ fhir:v "Binary.meta" ] ;
           fhir:short [ fhir:v "Metadata about the resource" ] ;
           fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.meta" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Meta"^^xsd:anyURI ;
               fhir:l fhir:Meta
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Binary.implicitRules" ] ;
           fhir:path [ fhir:v "Binary.implicitRules" ] ;
           fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
           fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension." ] ;
           fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.implicitRules" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "uri"^^xsd:anyURI ;
               fhir:l fhir:uri
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v true ] ;
           fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
           fhir:isSummary [ fhir:v true ]
         ] [
           fhir:id [ fhir:v "Binary.language" ] ;
           fhir:path [ fhir:v "Binary.language" ] ;
           fhir:short [ fhir:v "Language of the resource content" ] ;
           fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
           fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
           fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Resource.language" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:binding [
             fhir:extension ( [
               fhir:url [
                 fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "Language"
               ]
             ] ) ;
             fhir:strength [ fhir:v "required" ] ;
             fhir:description [ fhir:v "IETF language tag for a human language" ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/all-languages?version=6.0.0-ballot5>
             ] ;
             fhir:additional ( [
               fhir:purpose [ fhir:v "starter" ] ;
               fhir:valueSet [
                 fhir:v "http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot5"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/ValueSet/languages?version=6.0.0-ballot5>
               ]
             ] )
           ]
         ] [
           fhir:id [ fhir:v "Binary.contentType" ] ;
           fhir:path [ fhir:v "Binary.contentType" ] ;
           fhir:short [ fhir:v "MimeType of the binary content" ] ;
           fhir:definition [ fhir:v "MimeType of the binary content represented as a standard MimeType (BCP 13)." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Binary.contentType" ] ;
             fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "code"^^xsd:anyURI ;
               fhir:l fhir:code
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v true ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:binding [
             fhir:strength [ fhir:v "required" ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/mimetypes"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/mimetypes>
             ]
           ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "ED.mediaType" ]
           ] )
         ] [
           fhir:id [ fhir:v "Binary.securityContext" ] ;
           fhir:path [ fhir:v "Binary.securityContext" ] ;
           fhir:short [ fhir:v "Identifies another resource to use as proxy when enforcing access control" ] ;
           fhir:definition [ fhir:v "This element identifies another resource that can be used as a proxy of the security sensitivity to use when deciding and enforcing access control rules for the Binary resource. Given that the Binary resource contains very few elements that can be used to determine the sensitivity of the data and relationships to individuals, the referenced resource stands in as a proxy equivalent for this purpose. This referenced resource may be related to the Binary (e.g. DocumentReference), or may be some non-related Resource purely as a security proxy. E.g. to identify that the binary resource relates to a patient, and access should only be granted to applications that have access to the patient." ] ;
           fhir:comment [ fhir:v "Very often, a server will also know of a resource that references the binary, and can automatically apply the appropriate access rules based on that reference. However, there are some circumstances where this is not appropriate, e.g. the binary is uploaded directly to the server without any linking resource, the binary is referred to from multiple different resources, and/or the binary is content such as an application logo that has less protection than any of the resources that reference it." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Binary.securityContext" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "Reference"^^xsd:anyURI ;
               fhir:l fhir:Reference
             ] ;
             fhir:targetProfile ( [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Resource|6.0.0-ballot5"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?version=6.0.0-ballot5>
             ] )
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v true ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "n/a" ]
           ] )
         ] [
           fhir:id [ fhir:v "Binary.data" ] ;
           fhir:path [ fhir:v "Binary.data" ] ;
           fhir:short [ fhir:v "The actual content" ] ;
           fhir:definition [ fhir:v "The actual content, base64 encoded." ] ;
           fhir:comment [ fhir:v "If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type." ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
           fhir:max [ fhir:v "1" ] ;
           fhir:base [
             fhir:path [ fhir:v "Binary.data" ] ;
             fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
             fhir:max [ fhir:v "1" ]
           ] ;
           fhir:type ( [
             fhir:code [
               fhir:v "base64Binary"^^xsd:anyURI ;
               fhir:l fhir:base64Binary
             ]
           ] ) ;
           fhir:constraint ( [
             fhir:key [ fhir:v "ele-1" ] ;
             fhir:severity [ fhir:v "error" ] ;
             fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
             fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
             fhir:source [
               fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ) ;
           fhir:mustSupport [ fhir:v false ] ;
           fhir:isModifier [ fhir:v false ] ;
           fhir:isSummary [ fhir:v false ] ;
           fhir:mapping ( [
             fhir:identity [ fhir:v "rim" ] ;
             fhir:map [ fhir:v "ED.data" ]
           ] )
         ] )
      ] ; #
      fhir:differential [
         fhir:element ( [
           fhir:id [ fhir:v "Binary" ] ;
           fhir:path [ fhir:v "Binary" ]
         ] [
           fhir:id [ fhir:v "Binary.contentType" ] ;
           fhir:path [ fhir:v "Binary.contentType" ] ;
           fhir:mustSupport [ fhir:v true ] ;
           fhir:binding [
             fhir:strength [ fhir:v "required" ] ;
             fhir:valueSet [
               fhir:v "http://hl7.org/fhir/ValueSet/mimetypes"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/ValueSet/mimetypes>
             ]
           ]
         ] [
           fhir:id [ fhir:v "Binary.securityContext" ] ;
           fhir:path [ fhir:v "Binary.securityContext" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] [
           fhir:id [ fhir:v "Binary.data" ] ;
           fhir:path [ fhir:v "Binary.data" ] ;
           fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]
         ] )
      ] . #