@prefix fhir: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "DP-Annotation"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

Generated Narrative: StructureDefinition DP-Annotation

\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Annotation 0..*AnnotationText node with attribution
\".\"\".\"\".\" Slices for author[x] S0..1Reference(Practitioner | Patient | RelatedPerson | Organization), stringIndividual responsible for the annotation
Slice: Unordered, Open by type:$this
\".\"\".\"\".\"\".\" author[x]:authorString S0..1stringIndividual responsible for the annotation
Max Length:100
\".\"\".\"\".\" time S0..1DP_dateTimeWhen the annotation was made
\".\"\".\"\".\" text 1..1DP_markdownThe annotation - text content (as markdown)

\"doco\" Documentation for this format
"^^rdf:XMLLiteral ] ; # fhir:url [ fhir:v "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-Annotation"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.3.0"] ; # fhir:name [ fhir:v "DP_Annotation"] ; # fhir:title [ fhir:v "DP_Annotation"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2025-06-23T22:09:21+03:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 Saudi Arabia"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 Saudi Arabia" ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://test-project.org/test-publisher" ] ] ) ] ) ; # fhir:description [ fhir:v "Text note with attribution."] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "SA" ] ; fhir:display [ fhir:v "Saudi Arabia" ] ] ) ] ) ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ; fhir:name [ fhir:v "HL7 v2 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] ; # fhir:type [ fhir:v "Annotation"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Annotation"^^xsd:anyURI ; fhir:link ] ; # 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 "4.0.1" ] ] ) ; fhir:element ( [ fhir:id [ fhir:v "Annotation" ] ; fhir:path [ fhir:v "Annotation" ] ; fhir:short [ fhir:v "Text node with attribution" ] ; fhir:definition [ fhir:v "A text note which also contains information about who made the statement and when." ] ; fhir:comment [ fhir:v "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Annotation" ] ; 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 ] ] ) ; fhir:isModifier [ fhir:v false ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act" ] ] ) ] [ fhir:id [ fhir:v "Annotation.id" ] ; fhir:path [ fhir:v "Annotation.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 [ a fhir:url ; fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.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 "Annotation.extension" ] ; fhir:path [ fhir:v "Annotation.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 ] ] [ 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 ] ] ) ; 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 "Annotation.author[x]" ] ; fhir:path [ fhir:v "Annotation.author[x]" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v false ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Individual responsible for the annotation" ] ; fhir:definition [ fhir:v "The individual responsible for making the annotation." ] ; fhir:comment [ fhir:v "Organization is used when there's no need for specific attribution as to who made the comment." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Annotation.author[x]" ] ; 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/Practitioner"^^xsd:anyURI ; fhir:link ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson"^^xsd:anyURI ; fhir:link ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ; fhir:link ] ) ] [ 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 ] ] ) ; fhir:mustSupport [ fhir:v true ] ; fhir:isModifier [ fhir:v false ] ; fhir:isSummary [ fhir:v true ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.participant[typeCode=AUT].role" ] ] ) ] [ fhir:id [ fhir:v "Annotation.author[x]:authorString" ] ; fhir:path [ fhir:v "Annotation.author[x]" ] ; fhir:sliceName [ fhir:v "authorString" ] ; fhir:short [ fhir:v "Individual responsible for the annotation" ] ; fhir:definition [ fhir:v "The individual responsible for making the annotation." ] ; fhir:comment [ fhir:v "Organization is used when there's no need for specific attribution as to who made the comment." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Annotation.author[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:maxLength [ fhir:v 100 ] ; 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 ] ] ) ; fhir:mustSupport [ fhir:v true ] ; fhir:isModifier [ fhir:v false ] ; fhir:isSummary [ fhir:v true ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.participant[typeCode=AUT].role" ] ] ) ] [ fhir:id [ fhir:v "Annotation.time" ] ; fhir:path [ fhir:v "Annotation.time" ] ; fhir:short [ fhir:v "When the annotation was made" ] ; fhir:definition [ fhir:v "Indicates when this particular annotation was made." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Annotation.time" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ; fhir:profile ( [ fhir:v "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-dateTime"^^xsd:anyURI ; fhir:link ] ) ] ) ; 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 ] ] ) ; fhir:mustSupport [ fhir:v true ] ; fhir:isModifier [ fhir:v false ] ; fhir:isSummary [ fhir:v true ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.effectiveTime" ] ] ) ] [ fhir:id [ fhir:v "Annotation.text" ] ; fhir:path [ fhir:v "Annotation.text" ] ; fhir:short [ fhir:v "The annotation - text content (as markdown)" ] ; fhir:definition [ fhir:v "The text of the annotation in markdown format." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Annotation.text" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "markdown"^^xsd:anyURI ] ; fhir:profile ( [ fhir:v "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-markdown"^^xsd:anyURI ; fhir:link ] ) ] ) ; 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 ] ] ) ; fhir:isModifier [ fhir:v false ] ; fhir:isSummary [ fhir:v true ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text" ] ] ) ] ) ] ; # fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "Annotation" ] ; fhir:path [ fhir:v "Annotation" ] ] [ fhir:id [ fhir:v "Annotation.author[x]" ] ; fhir:path [ fhir:v "Annotation.author[x]" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "type" ] ; fhir:path [ fhir:v "$this" ] ] ) ; fhir:ordered [ fhir:v false ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:mustSupport [ fhir:v true ] ] [ fhir:id [ fhir:v "Annotation.author[x]:authorString" ] ; fhir:path [ fhir:v "Annotation.author[x]" ] ; fhir:sliceName [ fhir:v "authorString" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:maxLength [ fhir:v 100 ] ; fhir:mustSupport [ fhir:v true ] ] [ fhir:id [ fhir:v "Annotation.time" ] ; fhir:path [ fhir:v "Annotation.time" ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime"^^xsd:anyURI ] ; fhir:profile ( [ fhir:v "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-dateTime"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:mustSupport [ fhir:v true ] ] [ fhir:id [ fhir:v "Annotation.text" ] ; fhir:path [ fhir:v "Annotation.text" ] ; fhir:type ( [ fhir:code [ fhir:v "markdown"^^xsd:anyURI ] ; fhir:profile ( [ fhir:v "http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-markdown"^^xsd:anyURI ; fhir:link ] ) ] ) ] ) ] . # # -------------------------------------------------------------------------------------