This page is part of the DK MedCom Core (v2.3.0: Release) based on FHIR R4. The current version which supercedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions
Active as of 2023-10-31 |
TTL representation of the medcom-core-contact-extension extension.
@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 "medcom-core-contact-extension"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>" ] ; # fhir:url [ fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension"^^xsd:anyURI] ; # fhir:version [ fhir:v "2.3.0"] ; # fhir:name [ fhir:v "MedComCoreContactExtension"] ; # fhir:title [ fhir:v "ContactExtension"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-10-31T14:21:29+01:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "MedCom"] ; # fhir:contact ( [ fhir:name [ fhir:v "MedCom" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.medcom.dk" ] ] ) ] ) ; # fhir:description [ fhir:v "Extension that contains the contact information"] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "DK" ] ; fhir:display [ fhir:v "Denmark" ] ] ) ] ) ; # 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:kind [ fhir:v "complex-type"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:context ( [ fhir:type [ fhir:v "element" ] ; fhir:expression [ fhir:v "Element" ] ] ) ; # fhir:type [ fhir:v "Extension"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:snapshot [ ( fhir:element [ fhir:id [ fhir:v "Extension" ] ; fhir:path [ fhir:v "Extension" ] ; fhir:short [ fhir:v "ContactExtension" ] ; fhir:definition [ fhir:v "Extension that contains the contact information" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( 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"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Extension.id" ] ; fhir:path [ fhir:v "Extension.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 "1" ] ; 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:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Extension.extension" ] ; fhir:path [ fhir:v "Extension.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: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"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Extension.url" ] ; fhir:path [ fhir:v "Extension.url" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "identifies the meaning of the extension" ] ; fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ; fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.url" ] ; fhir:min [ fhir:v "1"^^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 "uri"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension"^^xsd:anyURI ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]" ] ; fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "closed" ] ] ; fhir:short [ fhir:v "Value of extension" ] ; fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "ContactPoint"^^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: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:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint" ] ; fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:sliceName [ fhir:v "valueContactPoint" ] ; fhir:short [ fhir:v "Value of extension" ] ; fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "ContactPoint"^^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: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:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.id" ] ; fhir:path [ fhir:v "Extension.value[x].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 "1" ] ; 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:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.extension" ] ; fhir:path [ fhir:v "Extension.value[x].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 "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; 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: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"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.system" ] ; fhir:path [ fhir:v "Extension.value[x].system" ] ; fhir:short [ fhir:v "phone | fax | email | pager | url | sms | other" ] ; fhir:definition [ fhir:v "Telecommunications form for contact point - what communications system is required to make use of the contact." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:pattern [ fhir:v "phone" ] ; ( fhir:condition [ fhir:v "cpt-2" ] ) ; ( 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:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointSystem" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Telecommunications form for contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./scheme" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointType" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.value" ] ; fhir:path [ fhir:v "Extension.value[x].value" ] ; fhir:short [ fhir:v "Shall contain a relevant telephone number." ] ; fhir:definition [ fhir:v "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." ] ; fhir:comment [ fhir:v "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." ] ; fhir:requirements [ fhir:v "Need to support legacy numbers that are not in a tightly controlled format." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.value" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "string"^^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: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 "medcom-core-contact" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "The telephone number may include + and numbers from 0-9" ] ; fhir:expression [ fhir:v "matches('[+]?[-0-9]')" ] ; fhir:source [ fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension"^^xsd:anyURI ; fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension> ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.1 (or XTN.12)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./url" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./Value" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.use" ] ; fhir:path [ fhir:v "Extension.value[x].use" ] ; fhir:short [ fhir:v "home | work | temp | old | mobile - purpose of this contact point" ] ; fhir:definition [ fhir:v "Identifies the purpose for the contact point." ] ; fhir:comment [ fhir:v "Applications can assume that a contact is current unless it explicitly says that it is temporary or old." ] ; fhir:requirements [ fhir:v "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.use" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "code"^^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: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:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "ContactPointUse" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Use of contact point." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1> ] ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "XTN.2 - but often indicated by field" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "unique(./use)" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./ContactPointPurpose" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.rank" ] ; fhir:path [ fhir:v "Extension.value[x].rank" ] ; fhir:short [ fhir:v "Specify preferred order of use (1 = highest)" ] ; fhir:definition [ fhir:v "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." ] ; fhir:comment [ fhir:v "Note that rank does not necessarily follow the order in which the contacts are represented in the instance." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.rank" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "positiveInt"^^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: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:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.period" ] ; fhir:path [ fhir:v "Extension.value[x].period" ] ; fhir:short [ fhir:v "Time period when the contact point was/is in use" ] ; fhir:definition [ fhir:v "Time period when the contact point was/is in use." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "ContactPoint.period" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Period"^^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: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:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./usablePeriod[type=\"IVL<TS>\"]" ] ] [ fhir:identity [ fhir:v "servd" ] ; fhir:map [ fhir:v "./StartDate and ./EndDate" ] ] ) ] ) ] ; # fhir:differential [ ( fhir:element [ fhir:id [ fhir:v "Extension" ] ; fhir:path [ fhir:v "Extension" ] ; fhir:short [ fhir:v "ContactExtension" ] ; fhir:definition [ fhir:v "Extension that contains the contact information" ] ] [ fhir:id [ fhir:v "Extension.extension" ] ; fhir:path [ fhir:v "Extension.extension" ] ; fhir:max [ fhir:v "0" ] ] [ fhir:id [ fhir:v "Extension.url" ] ; fhir:path [ fhir:v "Extension.url" ] ; fhir:fixed [ fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension"^^xsd:anyURI ] ] [ fhir:id [ fhir:v "Extension.value[x]" ] ; fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v "false"^^xsd:boolean ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint" ] ; fhir:path [ fhir:v "Extension.value[x]" ] ; fhir:sliceName [ fhir:v "valueContactPoint" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ] ] ) ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.system" ] ; fhir:path [ fhir:v "Extension.value[x].system" ] ; fhir:pattern [ fhir:v "phone" ] ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Extension.value[x]:valueContactPoint.value" ] ; fhir:path [ fhir:v "Extension.value[x].value" ] ; fhir:short [ fhir:v "Shall contain a relevant telephone number." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; ( fhir:constraint [ fhir:key [ fhir:v "medcom-core-contact" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "The telephone number may include + and numbers from 0-9" ] ; fhir:expression [ fhir:v "matches('[+]?[-0-9]')" ] ; fhir:source [ fhir:v "http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension"^^xsd:anyURI ; fhir:link <http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension> ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ] ) ] . #
IG © 2021+ MedCom. Package medcom.fhir.dk.core#2.3.0 based on FHIR 4.0.1. Generated 2023-10-31
Links: Table of Contents |
QA Report