Clinical Document Architecture, published by Health Level 7. This is not an authorized publication; it is the continuous build for version 2.0.1). This version is based on the current content of https://github.com/HL7/CDA-core-2.0/ and changes regularly. See the Directory of published versions
Active as of 2023-10-03 |
TTL representation of the xs-ID data type profile.
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 "xs-ID"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Primitive type 'xs:ID'</p>\n </div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [ fhir:v "has-length" ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/xs-ID"^^xsd:anyURI] ; #
fhir:version [ fhir:v "2.0.1"] ; #
fhir:name [ fhir:v "xs:ID"] ; #
fhir:title [ fhir:v "xs:ID"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "false"^^xsd:boolean] ; #
fhir:date [ fhir:v "2023-10-03T20:44:04+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "Health Level 7"] ; #
fhir:contact ( [
fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structdoc" ] ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "structdog@lists.HL7.org" ] ] )
] ) ; #
fhir:description [ fhir:v "ID represents the ID attribute type from [XML 1.0 (Second Edition)]. The \"value space\" of ID is the set of all strings that \"match\" the NCName production in [Namespaces in XML]. The \"lexical space\" of ID is the set of all strings that \"match\" the NCName production in [Namespaces in XML]."] ; #
fhir:fhirVersion [ fhir:v "5.0.0"] ; #
fhir:kind [ fhir:v "primitive-type"] ; #
fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
fhir:type [ fhir:v "id"^^xsd:anyURI] ; #
fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/id>
] ; #
fhir:derivation [ fhir:v "constraint"] ; #
fhir:snapshot [
( fhir:element [
fhir:id [ fhir:v "id" ] ;
fhir:path [ fhir:v "id" ] ;
fhir:short [ fhir:v "Primitive Type id" ] ;
fhir:definition [ fhir:v "Any combination of letters, numerals, \"-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive." ] ;
fhir:comment [ fhir:v "RFC 4122" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ] ;
( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [
fhir:id [ fhir:v "id.id" ] ;
fhir:path [ fhir:v "id.id" ] ;
( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ;
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:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [
fhir:id [ fhir:v "id.extension" ] ;
fhir:path [ fhir:v "id.extension" ] ;
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:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir: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:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [
fhir:id [ fhir:v "id.value" ] ;
fhir:path [ fhir:v "id.value" ] ;
( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Primitive value for id" ] ;
fhir:definition [ fhir:v "Primitive value for id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "string.value" ] ;
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 [ fhir:v "id"^^xsd:anyURI ] ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ;
fhir:value [ fhir:v "[A-Za-z0-9\\-\\.]{1,64}" ] ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] )
] ; #
fhir:differential [
( fhir:element [
fhir:id [ fhir:v "id" ] ;
fhir:path [ fhir:v "id" ] ] [
fhir:id [ fhir:v "id.id" ] ;
fhir:path [ fhir:v "id.id" ] ;
fhir:max [ fhir:v "0" ] ] [
fhir:id [ fhir:v "id.extension" ] ;
fhir:path [ fhir:v "id.extension" ] ;
fhir:max [ fhir:v "0" ] ] )
] . #
IG © 2019+ Health Level 7. Package hl7.cda.uv.core#2.0.1 based on FHIR 5.0.0. Generated 2023-10-03
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change