Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## Extension: MultiplePrescriptionExtension - TTL Profile

Active as of 2025-02-28

TTL representation of the multiple-prescription-extension extension.

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 "multiple-prescription-extension"] ; #
      fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.5-1"] ; #
      fhir:name [ fhir:v "MultiplePrescriptionExtension"] ; #
      fhir:title [ fhir:v "MultiplePrescription"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:date [ fhir:v "2025-02-28"^^xsd:date] ; #
      fhir:publisher [ fhir:v "gematik GmbH"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "gematik GmbH" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.gematik.de" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "patientteam [ at ] gematik.de" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This FHIR Extension for multiple prescriptions adds details such as repetition count and time intervals for repeated medication orders to FHIR resources."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "DE" ]     ] )
      ] ) ; #
      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] ; #
      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: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 "Extension" ] ;
    fhir:path [ fhir:v "Extension" ] ;
    fhir:short [ fhir:v "MultiplePrescription" ] ;
    fhir:definition [ fhir:v "This FHIR Extension for multiple prescriptions adds details such as repetition count and time intervals for repeated medication orders to FHIR resources." ] ;
    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: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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( 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 "closed" ]       ] ;
    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 "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( 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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:indicator" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "indicator" ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.extension" ] ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.url" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "uri"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "indicator"^^xsd:anyURI       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    fhir:short [ fhir:v "Multiple Prescription Indicator" ] ;
    fhir:definition [ fhir:v "Indicator of whether the current prescription is part of a multiple prescription\r\n\r\ntrue - the current prescription is part of a multiple prescription \r\nfalse - the current prescription is not part of a multiple prescription" ] ;
    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 "boolean"^^xsd:anyURI ]       ] ) ;
          ( 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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "counter" ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.extension" ] ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.url" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "uri"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "counter"^^xsd:anyURI       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    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 "Ratio"^^xsd:anyURI ]       ] ) ;
          ( 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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].extension" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "normative"         ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "4.0.0"         ]       ] ) ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator" ] ;
    fhir:short [ fhir:v "Numerator value" ] ;
    fhir:definition [ fhir:v "The value of the numerator." ] ;
    fhir:comment [ fhir:v "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Ratio.numerator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ]       ] ) ;
          ( 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 "qty-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a code for the unit is present, the system SHALL also be present" ] ;
    fhir:expression [ fhir:v "code.empty() or system.exists()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:code)) or exists(f:system)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>         ]       ] ) ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN (see also Range) or CQ" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ, IVL<PQ>, MO, CO, depending on the values" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".numerator" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.id" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.extension" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "normative"         ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "4.0.0"         ]       ] ) ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.value" ] ;
    fhir:short [ fhir:v "Multiple Prescription Counter" ] ;
    fhir:definition [ fhir:v "The field serves to indicate which number in a series of multiple prescriptions it is. Example: \"2\" in \"2 out of 4\"" ] ;
    fhir:comment [ fhir:v "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." ] ;
    fhir:requirements [ fhir:v "Precision is handled implicitly in almost all cases of measurement." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN.2  / CQ - N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.comparator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.comparator" ] ;
    fhir:short [ fhir:v "< | <= | >= | > - how to understand the value" ] ;
    fhir:definition [ fhir:v "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value." ] ;
    fhir:comment [ fhir:v "Note that FHIR strings SHALL NOT exceed 1MB in size" ] ;
    fhir:requirements [ fhir:v "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.comparator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:meaningWhenMissing [ fhir:v "If there is no comparator, then there is no modification of the value" ] ;
          ( 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:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" ] ;
    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 "QuantityComparator"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "How the Quantity should be understood and represented." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN.1  / CQ.1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "IVL properties" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.unit" ] ;
          ( 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 "Extension.extension.value[x].numerator.unit" ] ;
    fhir:short [ fhir:v "Unit representation" ] ;
    fhir:definition [ fhir:v "A human-readable form of the unit." ] ;
    fhir:comment [ fhir:v "Note that FHIR strings SHALL NOT exceed 1MB in size" ] ;
    fhir:requirements [ fhir:v "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.unit" ] ;
    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 "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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.unit" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.system" ] ;
    fhir:short [ fhir:v "System that defines coded unit form" ] ;
    fhir:definition [ fhir:v "The identification of the system that provides the coded form of the unit." ] ;
    fhir:comment [ fhir:v "see http://en.wikipedia.org/wiki/Uniform_resource_identifier" ] ;
    fhir:requirements [ fhir:v "Need to know the system that defines the coded form of the unit." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.system" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] [ fhir:v "qty-3" ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CO.codeSystem, PQ.translation.codeSystem" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.code" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.code" ] ;
    fhir:short [ fhir:v "Coded form of the unit" ] ;
    fhir:definition [ fhir:v "A computer processable form of the unit in some unit representation system." ] ;
    fhir:comment [ fhir:v "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system." ] ;
    fhir:requirements [ fhir:v "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.code, MO.currency, PQ.translation.code" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator" ] ;
    fhir:short [ fhir:v "Denominator value" ] ;
    fhir:definition [ fhir:v "The value of the denominator." ] ;
    fhir:comment [ fhir:v "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Ratio.denominator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ]       ] ) ;
          ( 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 "qty-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a code for the unit is present, the system SHALL also be present" ] ;
    fhir:expression [ fhir:v "code.empty() or system.exists()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:code)) or exists(f:system)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>         ]       ] ) ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN (see also Range) or CQ" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ, IVL<PQ>, MO, CO, depending on the values" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".denominator" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.id" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.extension" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "normative"         ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "4.0.0"         ]       ] ) ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.value" ] ;
    fhir:short [ fhir:v "Denominator of Multiple Prescription Series" ] ;
    fhir:definition [ fhir:v "The field serves to indicate the length of this series. Example: \"4\" in \"2 out of 4\"" ] ;
    fhir:comment [ fhir:v "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." ] ;
    fhir:requirements [ fhir:v "Precision is handled implicitly in almost all cases of measurement." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN.2  / CQ - N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.comparator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.comparator" ] ;
    fhir:short [ fhir:v "< | <= | >= | > - how to understand the value" ] ;
    fhir:definition [ fhir:v "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value." ] ;
    fhir:comment [ fhir:v "Note that FHIR strings SHALL NOT exceed 1MB in size" ] ;
    fhir:requirements [ fhir:v "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.comparator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:meaningWhenMissing [ fhir:v "If there is no comparator, then there is no modification of the value" ] ;
          ( 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:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" ] ;
    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 "QuantityComparator"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "How the Quantity should be understood and represented." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SN.1  / CQ.1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "IVL properties" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.unit" ] ;
          ( 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 "Extension.extension.value[x].denominator.unit" ] ;
    fhir:short [ fhir:v "Unit representation" ] ;
    fhir:definition [ fhir:v "A human-readable form of the unit." ] ;
    fhir:comment [ fhir:v "Note that FHIR strings SHALL NOT exceed 1MB in size" ] ;
    fhir:requirements [ fhir:v "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.unit" ] ;
    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 "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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.unit" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.system" ] ;
    fhir:short [ fhir:v "System that defines coded unit form" ] ;
    fhir:definition [ fhir:v "The identification of the system that provides the coded form of the unit." ] ;
    fhir:comment [ fhir:v "see http://en.wikipedia.org/wiki/Uniform_resource_identifier" ] ;
    fhir:requirements [ fhir:v "Need to know the system that defines the coded form of the unit." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.system" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] [ fhir:v "qty-3" ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CO.codeSystem, PQ.translation.codeSystem" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.code" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.code" ] ;
    fhir:short [ fhir:v "Coded form of the unit" ] ;
    fhir:definition [ fhir:v "A computer processable form of the unit in some unit representation system." ] ;
    fhir:comment [ fhir:v "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system." ] ;
    fhir:requirements [ fhir:v "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Quantity.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
          ( 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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "(see OBX.6 etc.) / CQ.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "PQ.code, MO.currency, PQ.translation.code" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "period" ] ;
    fhir:short [ fhir:v "Zeitraum der Einlösefrist" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.extension" ] ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.url" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "uri"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "period"^^xsd:anyURI       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    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 "Period"^^xsd:anyURI ]       ] ) ;
          ( 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 "-limitationDateStart" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Limitation of the date format to 10 characters YYYY-MM-DD" ] ;
    fhir:expression [ fhir:v "start.toString().length()=10" ] ;
    fhir:source [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>         ]       ] [
    fhir:key [ fhir:v "-limitationDateEnd" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Limitation of the date format to 10 characters YYYY-MM-DD" ] ;
    fhir:expression [ fhir:v "end.exists().not() or end.toString().length()=10" ] ;
    fhir:source [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].extension" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "normative"         ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "4.0.0"         ]       ] ) ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].start" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].start" ] ;
    fhir:short [ fhir:v "Start Date of the Prescription Redemption Period" ] ;
    fhir:definition [ fhir:v "Date from which the partial prescription of the multiple prescription can be redeemed" ] ;
    fhir:comment [ fhir:v "If the low element is missing, the meaning is that the low boundary is not known." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Period.start" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] [ fhir:v "per-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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "DR.1" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./low" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].end" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].end" ] ;
    fhir:short [ fhir:v "End Date of the Prescription Redemption Period" ] ;
    fhir:definition [ fhir:v "Date of the last redemption day for the partial prescription within the multiple prescription series. \nThe issuer may specify a redemption period different from the one outlined in the Medicinal Products Prescription Ordinance (AMVV)" ] ;
    fhir:comment [ fhir:v "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Period.end" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] ) ;
    fhir:meaningWhenMissing [ fhir:v "If the end of the period is missing, it means that the period is ongoing" ] ;
          ( fhir:condition [ fhir:v "ele-1" ] [ fhir:v "per-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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "DR.2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./high" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "id" ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.extension" ] ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.url" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "uri"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "id"^^xsd:anyURI       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    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 "Identifier"^^xsd:anyURI ]       ] ) ;
          ( 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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].id" ] ;
    fhir:path [ fhir:v "Extension.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 [
    a fhir:url ;
    fhir:v "string"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].extension" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "normative"         ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "4.0.0"         ]       ] ) ;
    fhir:path [ fhir:v "Extension.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: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/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].use" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].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: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: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.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|4.0.1>         ]       ] ;
          ( 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 "Role.code or implied by context" ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].type" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].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: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: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 "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] [
    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 "Extension.extension:id.value[x].system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].system" ] ;
    fhir:short [ fhir:v "Specification as UUID" ] ;
    fhir:definition [ fhir:v "Establishes the namespace for the value - that is, a URL that describes a set values that are unique." ] ;
    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 "0"^^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 "urn:ietf:rfc:3986"^^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: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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    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 "Extension.extension:id.value[x].value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].value" ] ;
    fhir:short [ fhir:v "Multiple Prescription ID" ] ;
    fhir:definition [ fhir:v "A unique ID that is identical across all partial prescriptions of a multiple prescription." ] ;
    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 "0"^^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: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:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    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 "Extension.extension:id.value[x].period" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].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:comment [ fhir:v "A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\").\n\nPeriod is not used for a duration (a measure of elapsed time). See [Duration](http://hl7.org/fhir/R4/datatypes.html#Duration)." ] ;
    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: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 "per-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If present, start SHALL have a lower value than end" ] ;
    fhir:expression [ fhir:v "start.hasValue().not() or end.hasValue().not() or (start <= end)" ] ;
    fhir:xpath [ fhir:v "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Library"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Library>         ]       ] ) ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "DR" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "IVL<TS>[lowClosed=\"true\" and highClosed=\"true\"] or URG<TS>[lowClosed=\"true\" and highClosed=\"true\"]" ]       ] [
    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 "Extension.extension:id.value[x].assigner" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].assigner" ] ;
    fhir:short [ fhir:v "Organization that issued id (may be just text)" ] ;
    fhir:definition [ fhir:v "Organization that issued/manages the identifier." ] ;
    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 "0" ] ;
    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: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 "ref-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "SHALL have a contained resource if a local reference is provided" ] ;
    fhir:expression [ fhir:v "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" ] ;
    fhir:xpath [ fhir:v "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>         ]       ] ) ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "The target of a resource reference is a RIM entry point (Act, Role, or Entity)" ]       ] [
    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 "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 [
    a fhir:url ;
    fhir:v "uri"^^xsd:anyURI           ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI       ] ;
          ( 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: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 "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    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 "base64Binary"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "canonical"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "id"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "instant"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "oid"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "positiveInt"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "time"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "unsignedInt"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "url"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "uuid"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Address"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Age"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Attachment"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "ContactPoint"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Count"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Distance"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Duration"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "HumanName"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Money"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Quantity"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Range"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Ratio"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "SampledData"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Signature"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Timing"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "ContactDetail"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Contributor"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "DataRequirement"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Expression"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "ParameterDefinition"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "RelatedArtifact"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "TriggerDefinition"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "UsageContext"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Dosage"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Meta"^^xsd:anyURI ]       ] ) ;
          ( 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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "Extension" ] ;
    fhir:path [ fhir:v "Extension" ] ;
    fhir:short [ fhir:v "MultiplePrescription" ] ;
    fhir:definition [ fhir:v "This FHIR Extension for multiple prescriptions adds details such as repetition count and time intervals for repeated medication orders to FHIR resources." ]     ] [
    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 "closed" ]       ]     ] [
    fhir:id [ fhir:v "Extension.extension:indicator" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "indicator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.extension" ] ;
    fhir:path [ fhir:v "Extension.extension.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.url" ] ;
    fhir:path [ fhir:v "Extension.extension.url" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "indicator"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.extension:indicator.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    fhir:short [ fhir:v "Multiple Prescription Indicator" ] ;
    fhir:definition [ fhir:v "Indicator of whether the current prescription is part of a multiple prescription\r\n\r\ntrue - the current prescription is part of a multiple prescription \r\nfalse - the current prescription is not part of a multiple prescription" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "counter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.extension" ] ;
    fhir:path [ fhir:v "Extension.extension.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.url" ] ;
    fhir:path [ fhir:v "Extension.extension.url" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "counter"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Ratio"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.value" ] ;
    fhir:short [ fhir:v "Multiple Prescription Counter" ] ;
    fhir:definition [ fhir:v "The field serves to indicate which number in a series of multiple prescriptions it is. Example: \"2\" in \"2 out of 4\"" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.comparator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.comparator" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.unit" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.unit" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.system" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].numerator.code" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].numerator.code" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.value" ] ;
    fhir:short [ fhir:v "Denominator of Multiple Prescription Series" ] ;
    fhir:definition [ fhir:v "The field serves to indicate the length of this series. Example: \"4\" in \"2 out of 4\"" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.comparator" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.comparator" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.unit" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.unit" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.system" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:counter.value[x].denominator.code" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].denominator.code" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:period" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "period" ] ;
    fhir:short [ fhir:v "Zeitraum der Einlösefrist" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "Extension.extension:period.extension" ] ;
    fhir:path [ fhir:v "Extension.extension.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:period.url" ] ;
    fhir:path [ fhir:v "Extension.extension.url" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "period"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "-limitationDateStart" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Limitation of the date format to 10 characters YYYY-MM-DD" ] ;
    fhir:expression [ fhir:v "start.toString().length()=10" ] ;
    fhir:source [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>         ]       ] [
    fhir:key [ fhir:v "-limitationDateEnd" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Limitation of the date format to 10 characters YYYY-MM-DD" ] ;
    fhir:expression [ fhir:v "end.exists().not() or end.toString().length()=10" ] ;
    fhir:source [
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ;
    fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension>         ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].start" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].start" ] ;
    fhir:short [ fhir:v "Start Date of the Prescription Redemption Period" ] ;
    fhir:definition [ fhir:v "Date from which the partial prescription of the multiple prescription can be redeemed" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "Extension.extension:period.value[x].end" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].end" ] ;
    fhir:short [ fhir:v "End Date of the Prescription Redemption Period" ] ;
    fhir:definition [ fhir:v "Date of the last redemption day for the partial prescription within the multiple prescription series. \nThe issuer may specify a redemption period different from the one outlined in the Medicinal Products Prescription Ordinance (AMVV)" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id" ] ;
    fhir:path [ fhir:v "Extension.extension" ] ;
    fhir:sliceName [ fhir:v "id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.extension" ] ;
    fhir:path [ fhir:v "Extension.extension.extension" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.url" ] ;
    fhir:path [ fhir:v "Extension.extension.url" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "id"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x]" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].use" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].use" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].type" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].type" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].system" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].system" ] ;
    fhir:short [ fhir:v "Specification as UUID" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].value" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].value" ] ;
    fhir:short [ fhir:v "Multiple Prescription ID" ] ;
    fhir:definition [ fhir:v "A unique ID that is identical across all partial prescriptions of a multiple prescription." ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].period" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].period" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.extension:id.value[x].assigner" ] ;
    fhir:path [ fhir:v "Extension.extension.value[x].assigner" ] ;
    fhir:max [ fhir:v "0" ]     ] [
    fhir:id [ fhir:v "Extension.url" ] ;
    fhir:path [ fhir:v "Extension.url" ] ;
    fhir:fixed [
    a fhir:uri ;
    fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI       ]     ] [
    fhir:id [ fhir:v "Extension.value[x]" ] ;
    fhir:path [ fhir:v "Extension.value[x]" ] ;
    fhir:max [ fhir:v "0" ]     ] )
      ] . #