NHSD Implementation Guide - Outbound
4.0.1 - active

NHSD Implementation Guide - Outbound - Local Development build (v4.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: NHSDSecureMessagingEndpoint - TTL Profile

Draft as of 2017-02-14

TTL representation of the nhsd-endpoint 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 -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "nhsd-endpoint"] ; #
      fhir:meta [
    fhir:lastUpdated [ fhir:v "2024-07-01T22:10:35.758+11:00"^^xsd:dateTime ]
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>NHSD Endpoint</p>\n    </div>"^^rdf:XMLLiteral
      ] ; #
      fhir:url [ fhir:v "http://fhir.nhsd.com.au/StructureDefinition/nhsd-endpoint"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "4.0.1"] ; #
      fhir:name [ fhir:v "NHSDSecureMessagingEndpoint"] ; #
      fhir:title [ fhir:v "NHSD Secure Messaging Endpoint"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2017-02-14T17:58:28.124+11:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Healthdirect Australia"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Saravanan Shanmugam" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "saravanan.shanmugam@healthdirect.org.au" ] ;
    fhir:use [ fhir:v "work" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "A National Health Services Directory (NHSD) Endpoint"] ; #
      fhir:copyright [ fhir:v "National Health Services Directory© 2018+; Licensed Under Creative Commons No Rights Reserved."] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [ fhir:v "Endpoint"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org.au/fhir/pd/StructureDefinition/au-pd-sm-endpoint"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/pd/StructureDefinition/au-pd-sm-endpoint>
      ] ; #
      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:value [
    a fhir:string ;
    fhir:v "2.0.1"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "Endpoint" ] ;
    fhir:path [ fhir:v "Endpoint" ] ;
    fhir:short [ fhir:v "Australian Secure Message Directory Endpoint Record" ] ;
    fhir:definition [ fhir:v "Enpoint defined for use in secure message addressing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "dom-2" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
    fhir:expression [ fhir:v "contained.contained.empty()" ] ;
    fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-4" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
    fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
    fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:markdown ;
    fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."           ]         ] ) ;
    fhir:key [ fhir:v "dom-6" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
    fhir:expression [ fhir:v "text.div.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-5" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
    fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] ) ;
    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" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.id" ] ;
    fhir:path [ fhir:v "Endpoint.id" ] ;
    fhir:short [ fhir:v "Logical FHIR id for unique identification of the Endpoint resource within the FHIR bundle" ] ;
    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 "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
    fhir:min [ fhir:v "1"^^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:value [
    a fhir:url ;
    fhir:v "id"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta" ] ;
    fhir:path [ fhir:v "Endpoint.meta" ] ;
    fhir:short [ fhir:v "Metadata on Endpoint" ] ;
    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 "1"^^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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.id" ] ;
    fhir:path [ fhir:v "Endpoint.meta.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.meta.extension" ] ;
    fhir:path [ fhir:v "Endpoint.meta.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.versionId" ] ;
    fhir:path [ fhir:v "Endpoint.meta.versionId" ] ;
    fhir:short [ fhir:v "Version specific identifier" ] ;
    fhir:definition [ fhir:v "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted." ] ;
    fhir:comment [ fhir:v "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.versionId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.lastUpdated" ] ;
    fhir:path [ fhir:v "Endpoint.meta.lastUpdated" ] ;
    fhir:short [ fhir:v "The timestamp when the resource was last updated" ] ;
    fhir:definition [ fhir:v "When the resource last changed - e.g. when the version changed." ] ;
    fhir:comment [ fhir:v "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4/http.html#read) interaction." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.lastUpdated" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "instant"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.source" ] ;
    fhir:path [ fhir:v "Endpoint.meta.source" ] ;
    fhir:short [ fhir:v "Identifies where the resource comes from" ] ;
    fhir:definition [ fhir:v "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." ] ;
    fhir:comment [ fhir:v "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.source" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.profile" ] ;
    fhir:path [ fhir:v "Endpoint.meta.profile" ] ;
    fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ;
    fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.url)." ] ;
    fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.profile" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/StructureDefinition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/StructureDefinition>         ] )       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.security" ] ;
    fhir:path [ fhir:v "Endpoint.meta.security" ] ;
    fhir:short [ fhir:v "Security Labels applied to this resource" ] ;
    fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ;
    fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.security" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "SecurityLabels"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/security-labels"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/security-labels>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.tag" ] ;
    fhir:path [ fhir:v "Endpoint.meta.tag" ] ;
    fhir:short [ fhir:v "Tags applied to this resource" ] ;
    fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ;
    fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Meta.tag" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Tags"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/common-tags"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/common-tags>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.implicitRules" ] ;
    fhir:path [ fhir:v "Endpoint.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." ] ;
    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 it's narrative along with other profiles, value sets, etc." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    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: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 it's meaning or interpretation" ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.language" ] ;
    fhir:path [ fhir:v "Endpoint.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 "0" ] ;
    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:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Language"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "A human language." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/languages>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.text" ] ;
    fhir:path [ fhir:v "Endpoint.text" ] ;
    fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
    fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
    fhir:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
          ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Narrative"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.contained" ] ;
    fhir:path [ fhir:v "Endpoint.contained" ] ;
    fhir:short [ fhir:v "Contained, inline Resources" ] ;
    fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
    fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
          ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.contained" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.extension" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:receivingFacility" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "receivingFacility" ] ;
    fhir:short [ fhir:v "HL7 V2 receiving facility" ] ;
    fhir:definition [ fhir:v "Values for routing HL7 V2 message payloads associated with an endpoint, suitable for MSH-6" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( 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:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:receivingApplication" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "receivingApplication" ] ;
    fhir:short [ fhir:v "HL7 V2 receiving application" ] ;
    fhir:definition [ fhir:v "Values for routing HL7 V2 message payloads associated with an endpoint. Suitable for MSH-5." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( 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:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:dataEnciphermentCertificate" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "dataEnciphermentCertificate" ] ;
    fhir:short [ fhir:v "PEM X509 Certificate" ] ;
    fhir:definition [ fhir:v "Mechanism hold the value of an X509 certificate as a string (base64 encoded PEM certificate)" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( 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:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:encryption-certificate-pem-x509" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "encryption-certificate-pem-x509" ] ;
    fhir:short [ fhir:v "PEM X509 certificate" ] ;
    fhir:definition [ fhir:v "Mechanism to hold the value of a X509 certificate as a string (base64 encoded PEM certificate)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509>         ] )       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.modifierExtension" ] ;
    fhir:path [ fhir:v "Endpoint.modifierExtension" ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "system" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Identifies this endpoint across multiple systems" ] ;
    fhir:definition [ fhir:v "Identifier for the organization that is used to identify the endpoint across multiple disparate systems." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:sliceName [ fhir:v "smdtarget" ] ;
    fhir:short [ fhir:v "Secure Messaging Target Identifier" ] ;
    fhir:definition [ fhir:v "Secure messaging interface target identity included in addressing metadata.  Thiis is the complete URL identifier that can be directly used in secure messaging.  This identifier should be matched when selecting the encrypting certificate data used for payload encryption also referenced from this endpoint." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.id" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.extension" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.use" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.use" ] ;
    fhir:short [ fhir:v "usual | official | temp | secondary | old (If known)" ] ;
    fhir:definition [ fhir:v "The purpose of this identifier." ] ;
    fhir:comment [ fhir:v "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ] ;
    fhir:requirements [ fhir:v "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.use" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "IdentifierUse"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "Identifies the purpose for this identifier, if known ." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/identifier-use|4.0.0"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|4.0.0>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.type" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.type" ] ;
    fhir:short [ fhir:v "Description of identifier" ] ;
    fhir:definition [ fhir:v "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." ] ;
    fhir:comment [ fhir:v "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ] ;
    fhir:requirements [ fhir:v "Allows users to make use of identifiers when the identifier system is not known." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "IdentifierType"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/identifier-type"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/identifier-type>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CX.5" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Role.code or implied by context" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.system" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.system" ] ;
    fhir:short [ fhir:v "Secure Messaging Delivery Target Identifier" ] ;
    fhir:definition [ fhir:v "Target identifier suitable for Secure Message Delivery interface metatadat content; also allows lookup for responses." ] ;
    fhir:comment [ fhir:v "Identifier.system is always case sensitive." ] ;
    fhir:requirements [ fhir:v "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.system" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "http://ns.electronichealth.net.au/smd/target"^^xsd:anyURI       ] ;
          ( fhir:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "http://www.acme.com/identifiers/patient"^^xsd:anyURI         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CX.4 / EI-2-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "II.root or Role.id.root" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./IdentifierType" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.value" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.value" ] ;
    fhir:short [ fhir:v "Secure messaging target identifier value" ] ;
    fhir:definition [ fhir:v "The portion of the identifier typically relevant to the user and which is unique within the context of the system." ] ;
    fhir:comment [ fhir:v "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "123456"         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CX.1 / EI.1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./Value" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.period" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.period" ] ;
    fhir:short [ fhir:v "Time period when id is/was valid for use" ] ;
    fhir:definition [ fhir:v "Time period during which identifier is/was valid for use." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.period" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CX.7 + CX.8" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Role.effectiveTime or implied by context" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./StartDate and ./EndDate" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.assigner" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.assigner" ] ;
    fhir:short [ fhir:v "Organization that issued the smdTarget identifier (may be just text)" ] ;
    fhir:definition [ fhir:v "Organization that issued the smdTarget identifier (may be just text)." ] ;
    fhir:comment [ fhir:v "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Identifier.assigner" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Organization>         ] )       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CX.4 / (CX.4,CX.9,CX.10)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" ]       ] [
    fhir:identity [ fhir:v "servd" ] ;
    fhir:map [ fhir:v "./IdentifierIssuingAuthority" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.identifier:rid" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:sliceName [ fhir:v "rid" ] ;
    fhir:short [ fhir:v "Identifies this endpoint across multiple systems" ] ;
    fhir:definition [ fhir:v "NHSD Endpoint Resource Identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://fhir.nhsd.com.au/StructureDefinition/nhsd-resource-identifier"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/StructureDefinition/nhsd-resource-identifier>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.status" ] ;
    fhir:path [ fhir:v "Endpoint.status" ] ;
    fhir:short [ fhir:v "active | suspended | off" ] ;
    fhir:definition [ fhir:v "Secure messaging endpoint activation status." ] ;
    fhir:comment [ fhir:v "This element is labeled as a modifier because the status contains codes that mark the endpoint as not currently valid." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.status" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-endpoint-status"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-endpoint-status>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.status" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.connectionType" ] ;
    fhir:path [ fhir:v "Endpoint.connectionType" ] ;
    fhir:short [ fhir:v "Service interface type" ] ;
    fhir:definition [ fhir:v "Protocol/Profile/Standard the endpoint supports." ] ;
    fhir:comment [ fhir:v "For additional connectivity details for the protocol, extensions will be used at this point, as in the XDS example." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.connectionType" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v false ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org.au/fhir/pd/ValueSet/service-interfaces"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/pd/ValueSet/service-interfaces>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.class" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.name" ] ;
    fhir:path [ fhir:v "Endpoint.name" ] ;
    fhir:short [ fhir:v "Friendly name for the endpoint" ] ;
    fhir:definition [ fhir:v "A friendly name that this endpoint can be referred to with." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization" ] ;
    fhir:short [ fhir:v "Directory entry managing organisation" ] ;
    fhir:definition [ fhir:v "Details of the organisation that is managing the supply of this directory entry." ] ;
    fhir:comment [ fhir:v "This property is not typically used when searching for Endpoint resources for usage. The typical usage is via the reference from an applicable Organization/Location/Practitioner resource, which is where the context is provided. Multiple Locations may reference a single endpoint, and don't have to be within the same organization resource, but most likely within the same organizational hierarchy." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.managingOrganization" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://fhir.nhsd.com.au/StructureDefinition/nhsd-organisation"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/StructureDefinition/nhsd-organisation>         ] )       ] ) ;
    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 "Endpoint.managingOrganization.id" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.extension" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.reference" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.reference" ] ;
    fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
    fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
    fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ref-1" ] ) ;
    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 "Endpoint.managingOrganization.type" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.type" ] ;
    fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ;
    fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
    fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/resource-types>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.identifier" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.identifier" ] ;
    fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
    fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
    fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".identifier" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.display" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true         ]       ] ) ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.display" ] ;
    fhir:short [ fhir:v "Directroy entry managing organisation display details" ] ;
    fhir:definition [ fhir:v "Details to display for the directory entry managing organisation, typically the name." ] ;
    fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.display" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    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 "Endpoint.contact" ] ;
    fhir:path [ fhir:v "Endpoint.contact" ] ;
    fhir:short [ fhir:v "Endpoint operator contact" ] ;
    fhir:definition [ fhir:v "Details to contact operator of the endpoint responsible for it's support and maintenance." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.contact" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.period" ] ;
    fhir:path [ fhir:v "Endpoint.period" ] ;
    fhir:short [ fhir:v "Interval the endpoint is expected to be operational" ] ;
    fhir:definition [ fhir:v "The interval during which the endpoint is expected to be operational." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.period" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.payloadType" ] ;
    fhir:path [ fhir:v "Endpoint.payloadType" ] ;
    fhir:short [ fhir:v "Payload type" ] ;
    fhir:definition [ fhir:v "Reference  to identify the type of payload content (service category)." ] ;
    fhir:comment [ fhir:v "The payloadFormat describes the serialization format of the data, where the payloadType indicates the specific document/schema that is being transferred; e.g. DischargeSummary or CarePlan." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.payloadType" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] ) ;
    fhir:mustSupport [ fhir:v false ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:path [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:short [ fhir:v "Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)" ] ;
    fhir:definition [ fhir:v "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType)." ] ;
    fhir:comment [ fhir:v "Sending the payload has obvious security consequences. The server is responsible for ensuring that the content is appropriately secured." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "MimeType"           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The mime type of an attachment. Any valid mime type is allowed." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/mimetypes|4.0.0>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.address" ] ;
    fhir:path [ fhir:v "Endpoint.address" ] ;
    fhir:short [ fhir:v "URL address of the endpoint" ] ;
    fhir:definition [ fhir:v "Actual endpoint URL for communications" ] ;
    fhir:comment [ fhir:v "For rest-hook, and websocket, the end-point must be an http: or https: URL; for email, a mailto: url, for sms, a tel: url, and for message the endpoint can be in any form of url the server understands (usually, http: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since there may be more than one, clients should avoid using relative URIs)\n\nThis address will be to the service base, without any parameters, or sub-services or resources tacked on.\n\nE.g. for a WADO-RS endpoint, the url should be \"https://pacs.hospital.org/wado-rs\"\n\nand not \"https://pacs.hospital.org/wado-rs/studies/1.2.250.1.59.40211.12345678.678910/series/1.2.250.1.59.40211.789001276.14556172.67789/instances/...\"." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.address" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "url"^^xsd:anyURI ]       ] ) ;
    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 "Endpoint.header" ] ;
    fhir:path [ fhir:v "Endpoint.header" ] ;
    fhir:short [ fhir:v "Usage depends on the channel type" ] ;
    fhir:definition [ fhir:v "Additional headers / information to send as part of the notification." ] ;
    fhir:comment [ fhir:v "Exactly what these mean depends on the channel type. The can convey additional information to the recipient and/or meet security requirements." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.header" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "Endpoint" ] ;
    fhir:path [ fhir:v "Endpoint" ] ;
    fhir:short [ fhir:v "Australian Secure Message Directory Endpoint Record" ] ;
    fhir:definition [ fhir:v "Enpoint defined for use in secure message addressing." ]     ] [
    fhir:id [ fhir:v "Endpoint.id" ] ;
    fhir:path [ fhir:v "Endpoint.id" ] ;
    fhir:short [ fhir:v "Logical FHIR id for unique identification of the Endpoint resource within the FHIR bundle" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Endpoint.meta" ] ;
    fhir:path [ fhir:v "Endpoint.meta" ] ;
    fhir:short [ fhir:v "Metadata on Endpoint" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.id" ] ;
    fhir:path [ fhir:v "Endpoint.meta.id" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.extension" ] ;
    fhir:path [ fhir:v "Endpoint.meta.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.versionId" ] ;
    fhir:path [ fhir:v "Endpoint.meta.versionId" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.lastUpdated" ] ;
    fhir:path [ fhir:v "Endpoint.meta.lastUpdated" ] ;
    fhir:short [ fhir:v "The timestamp when the resource was last updated" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.source" ] ;
    fhir:path [ fhir:v "Endpoint.meta.source" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.profile" ] ;
    fhir:path [ fhir:v "Endpoint.meta.profile" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.security" ] ;
    fhir:path [ fhir:v "Endpoint.meta.security" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.meta.tag" ] ;
    fhir:path [ fhir:v "Endpoint.meta.tag" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.implicitRules" ] ;
    fhir:path [ fhir:v "Endpoint.implicitRules" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.language" ] ;
    fhir:path [ fhir:v "Endpoint.language" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.text" ] ;
    fhir:path [ fhir:v "Endpoint.text" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.contained" ] ;
    fhir:path [ fhir:v "Endpoint.contained" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.extension" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:receivingFacility" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "receivingFacility" ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility>         ] )       ] )     ] [
    fhir:id [ fhir:v "Endpoint.extension:receivingApplication" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "receivingApplication" ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication>         ] )       ] )     ] [
    fhir:id [ fhir:v "Endpoint.extension:dataEnciphermentCertificate" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "dataEnciphermentCertificate" ] ;
    fhir:short [ fhir:v "PEM X509 Certificate" ] ;
    fhir:definition [ fhir:v "Mechanism hold the value of an X509 certificate as a string (base64 encoded PEM certificate)" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.extension:encryption-certificate-pem-x509" ] ;
    fhir:path [ fhir:v "Endpoint.extension" ] ;
    fhir:sliceName [ fhir:v "encryption-certificate-pem-x509" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509>         ] )       ] )     ] [
    fhir:id [ fhir:v "Endpoint.modifierExtension" ] ;
    fhir:path [ fhir:v "Endpoint.modifierExtension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "system" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:sliceName [ fhir:v "smdtarget" ] ;
    fhir:short [ fhir:v "Secure Messaging Target Identifier" ] ;
    fhir:definition [ fhir:v "Secure messaging interface target identity included in addressing metadata.  Thiis is the complete URL identifier that can be directly used in secure messaging.  This identifier should be matched when selecting the encrypting certificate data used for payload encryption also referenced from this endpoint." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.id" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.id" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.extension" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.use" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.use" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.type" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.type" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.system" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.system" ] ;
    fhir:short [ fhir:v "Secure Messaging Delivery Target Identifier" ] ;
    fhir:definition [ fhir:v "Target identifier suitable for Secure Message Delivery interface metatadat content; also allows lookup for responses." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "http://ns.electronichealth.net.au/smd/target"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.value" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.value" ] ;
    fhir:short [ fhir:v "Secure messaging target identifier value" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.period" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.period" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:smdtarget.assigner" ] ;
    fhir:path [ fhir:v "Endpoint.identifier.assigner" ] ;
    fhir:short [ fhir:v "Organization that issued the smdTarget identifier (may be just text)" ] ;
    fhir:definition [ fhir:v "Organization that issued the smdTarget identifier (may be just text)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "Endpoint.identifier:rid" ] ;
    fhir:path [ fhir:v "Endpoint.identifier" ] ;
    fhir:sliceName [ fhir:v "rid" ] ;
    fhir:definition [ fhir:v "NHSD Endpoint Resource Identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://fhir.nhsd.com.au/StructureDefinition/nhsd-resource-identifier"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/StructureDefinition/nhsd-resource-identifier>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.status" ] ;
    fhir:path [ fhir:v "Endpoint.status" ] ;
    fhir:short [ fhir:v "active | suspended | off" ] ;
    fhir:definition [ fhir:v "Secure messaging endpoint activation status." ] ;
    fhir:mustSupport [ fhir:v true ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-endpoint-status"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/ValueSet/valueset-nhsd-endpoint-status>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.connectionType" ] ;
    fhir:path [ fhir:v "Endpoint.connectionType" ] ;
    fhir:short [ fhir:v "Service interface type" ] ;
    fhir:definition [ fhir:v "Protocol/Profile/Standard the endpoint supports." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:mustSupport [ fhir:v false ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org.au/fhir/pd/ValueSet/service-interfaces"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/pd/ValueSet/service-interfaces>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.name" ] ;
    fhir:path [ fhir:v "Endpoint.name" ] ;
    fhir:short [ fhir:v "Friendly name for the endpoint" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization" ] ;
    fhir:short [ fhir:v "Directory entry managing organisation" ] ;
    fhir:definition [ fhir:v "Details of the organisation that is managing the supply of this directory entry." ] ;
    fhir:max [ fhir:v "0" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://fhir.nhsd.com.au/StructureDefinition/nhsd-organisation"^^xsd:anyURI ;
    fhir:link <http://fhir.nhsd.com.au/StructureDefinition/nhsd-organisation>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.id" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.id" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.extension" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.reference" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.reference" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.type" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.type" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.identifier" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.identifier" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.managingOrganization.display" ] ;
    fhir:path [ fhir:v "Endpoint.managingOrganization.display" ] ;
    fhir:short [ fhir:v "Directroy entry managing organisation display details" ] ;
    fhir:definition [ fhir:v "Details to display for the directory entry managing organisation, typically the name." ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.contact" ] ;
    fhir:path [ fhir:v "Endpoint.contact" ] ;
    fhir:short [ fhir:v "Endpoint operator contact" ] ;
    fhir:definition [ fhir:v "Details to contact operator of the endpoint responsible for it's support and maintenance." ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "Endpoint.period" ] ;
    fhir:path [ fhir:v "Endpoint.period" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Endpoint.payloadType" ] ;
    fhir:path [ fhir:v "Endpoint.payloadType" ] ;
    fhir:short [ fhir:v "Payload type" ] ;
    fhir:definition [ fhir:v "Reference  to identify the type of payload content (service category)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:mustSupport [ fhir:v false ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type"^^xsd:anyURI ;
    fhir:link <http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type>         ]       ]     ] [
    fhir:id [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:path [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:short [ fhir:v "Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)" ] ;
    fhir:definition [ fhir:v "The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType)." ] ;
    fhir:comment [ fhir:v "Sending the payload has obvious security consequences. The server is responsible for ensuring that the content is appropriately secured." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.payloadMimeType" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "MimeType"           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
    fhir:v true           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The mime type of an attachment. Any valid mime type is allowed." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/mimetypes|4.0.0>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Endpoint.address" ] ;
    fhir:path [ fhir:v "Endpoint.address" ] ;
    fhir:short [ fhir:v "URL address of the endpoint" ] ;
    fhir:definition [ fhir:v "Actual endpoint URL for communications" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:mustSupport [ fhir:v false ]     ] [
    fhir:id [ fhir:v "Endpoint.header" ] ;
    fhir:path [ fhir:v "Endpoint.header" ] ;
    fhir:short [ fhir:v "Usage depends on the channel type" ] ;
    fhir:definition [ fhir:v "Additional headers / information to send as part of the notification." ] ;
    fhir:comment [ fhir:v "Exactly what these mean depends on the channel type. The can convey additional information to the recipient and/or meet security requirements." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Endpoint.header" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] )
      ] . #