{
"description": "This profile holds information about a technical address to an API.",
"_filename": "StructureDefinition-endpoint-er.json",
"package_name": "se.electronichealth.fhir.merier.r5",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "5.0.0",
"name": "EndpointEr",
"mapping": [ {
"uri": "AndpunktLogicalEr",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"abstract": false,
"type": "Endpoint",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Endpoint (ER)",
"package_version": "0.1.3-beta",
"status": "active",
"id": "e63d50fa-1dcd-44ed-a001-e967c88cb0c1",
"kind": "resource",
"url": "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er",
"version": "0.1.0",
"differential": {
"element": [ {
"id": "Endpoint.extension:associatedServer",
"max": "1",
"min": 0,
"path": "Endpoint.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-associated-server-er" ]
} ],
"mapping": [ {
"map": "urlTillAuktorisationsserver",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"sliceName": "associatedServer",
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:associatedServerType",
"path": "Endpoint.extension.extension",
"sliceName": "associatedServerType"
}, {
"id": "Endpoint.extension:associatedServer.extension:associatedServerType.url",
"path": "Endpoint.extension.extension.url",
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:associatedServerType.value[x]",
"min": 1,
"path": "Endpoint.extension.extension.value[x]",
"fixedCoding": {
"code": "authorization",
"system": "http://electronichealth.se/CodeSystem/associated-server-types"
},
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:associatedServerType.value[x].system",
"min": 1,
"path": "Endpoint.extension.extension.value[x].system",
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:associatedServerType.value[x].code",
"min": 1,
"path": "Endpoint.extension.extension.value[x].code",
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:serverURL",
"path": "Endpoint.extension.extension",
"sliceName": "serverURL"
}, {
"id": "Endpoint.extension:associatedServer.extension:serverURL.url",
"path": "Endpoint.extension.extension.url",
"mustSupport": true
}, {
"id": "Endpoint.extension:associatedServer.extension:serverURL.value[x]",
"min": 1,
"path": "Endpoint.extension.extension.value[x]",
"constraint": [ {
"key": "endpoint-security-url-er-1",
"human": "The security url of an Endpoint must start with https:// followed by a combination of alphanumerical characters, slashes (/) and/or full stops (.)",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er",
"severity": "error",
"expression": "$this.matches('^https:\\/\\/[\\/\\.A-Öa-ö0-9]+$')"
}, {
"key": "endpoint-security-url-er-2",
"human": "The security url of an Endpoint must be a maximum of 255 characters",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er",
"severity": "error",
"expression": "$this.length() <= 255"
} ],
"mustSupport": true
}, {
"id": "Endpoint.status",
"path": "Endpoint.status",
"binding": {
"strength": "required",
"valueSet": "http://electronichealth.se/fhir/NDI/ValueSet/er-endpoint-statuses"
},
"mapping": [ {
"map": "status",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"mustSupport": true
}, {
"id": "Endpoint.connectionType",
"path": "Endpoint.connectionType",
"slicing": {
"rules": "open",
"ordered": false,
"description": "Slice on connectionType based on value set binding",
"discriminator": [ {
"path": "$this",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "Endpoint.connectionType.coding",
"max": "1",
"min": 1,
"path": "Endpoint.connectionType.coding",
"mustSupport": true
}, {
"id": "Endpoint.connectionType.coding.system",
"min": 1,
"path": "Endpoint.connectionType.coding.system",
"mustSupport": true
}, {
"id": "Endpoint.connectionType.coding.code",
"min": 1,
"path": "Endpoint.connectionType.coding.code",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:securityMethod",
"max": "1",
"min": 0,
"path": "Endpoint.connectionType",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/restful-security-service"
},
"mapping": [ {
"map": "sakerhetsmetod",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"sliceName": "securityMethod",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:securityMethod.coding",
"max": "1",
"min": 1,
"path": "Endpoint.connectionType.coding",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:securityMethod.coding.system",
"min": 1,
"path": "Endpoint.connectionType.coding.system",
"fixedUri": "http://hl7.org/fhir/restful-security-service",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:securityMethod.coding.code",
"min": 1,
"path": "Endpoint.connectionType.coding.code",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:protocol",
"max": "1",
"min": 0,
"path": "Endpoint.connectionType",
"binding": {
"strength": "required",
"valueSet": "http://electronichealth.se/fhir/NDI/ValueSet/er-endpoint-connection-type"
},
"mapping": [ {
"map": "protokoll",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"sliceName": "protocol",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:protocol.coding",
"max": "1",
"min": 1,
"path": "Endpoint.connectionType.coding",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:protocol.coding.system",
"min": 1,
"path": "Endpoint.connectionType.coding.system",
"mustSupport": true
}, {
"id": "Endpoint.connectionType:protocol.coding.code",
"min": 1,
"path": "Endpoint.connectionType.coding.code",
"mustSupport": true
}, {
"id": "Endpoint.name",
"min": 1,
"path": "Endpoint.name",
"mapping": [ {
"map": "namn",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"constraint": [ {
"key": "endpoint-name-er-1",
"human": "The name of an Endpoint must contain alphanumerical characters, spaces and/or one or more of the following special characters: _-.,\\'()&/",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er",
"severity": "error",
"expression": "$this.matches('^[A-Öa-ö0-9 _-.,\\'()&/]+$')"
}, {
"key": "endpoint-name-er-2",
"human": "The name of an Endpoint must be a maximum of 255 characters",
"source": "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-er",
"severity": "error",
"expression": "$this.length() <= 255"
} ],
"mustSupport": true
}, {
"id": "Endpoint.payload",
"path": "Endpoint.payload",
"mapping": [ {
"map": "tillgangliggor(APILogicalEr)",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"mustSupport": true
}, {
"id": "Endpoint.payload.extension",
"min": 1,
"path": "Endpoint.payload.extension"
}, {
"id": "Endpoint.payload.extension:apiSpecification",
"max": "1",
"min": 1,
"path": "Endpoint.payload.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://electronichealth.se/fhir/NDI/StructureDefinition/endpoint-payload-actor-definition-er" ]
} ],
"sliceName": "apiSpecification",
"mustSupport": true
}, {
"id": "Endpoint.address",
"path": "Endpoint.address",
"mapping": [ {
"map": "adress",
"identity": "EndpointToAndpunktLogicalEr"
} ],
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Endpoint"
}